Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 626 for Stub (0.03 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/internal/ConcurrencyDependencyGraphTest.java

    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.A;
    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.B;
    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.C;
    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.X;
    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.Y;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/tasks/LinkSharedLibraryTest.groovy

        def "has no default import library location when platform does not produce one"() {
            def toolChain = Stub(NativeToolChainInternal)
            def platform = Stub(NativePlatformInternal)
            def provider = Stub(PlatformToolProvider)
            toolChain.select(platform) >> provider
            provider.producesImportLibrary() >> false
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftLibraryTest.groovy

            expect:
            library.apiDependencies == project.configurations.api
        }
    
        def "can create static binary"() {
            def targetPlatform = Stub(SwiftPlatform)
            def toolChain = Stub(NativeToolChainInternal)
            def platformToolProvider = Stub(PlatformToolProvider)
    
            expect:
            def binary = library.addStaticLibrary(identity, true, targetPlatform, toolChain, platformToolProvider)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/result/DefaultResolutionResultTest.groovy

                Stub(BuildIdentifier),
                Stub(Path),
                Stub(Path),
                'test project'
            )
            def mid = DefaultModuleVersionIdentifier.newId("foo", "bar", "1.0")
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def dep = new DefaultUnresolvedDependencyResult(
                Stub(ComponentSelector), false,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageExternalResourceFileStoreTest.groovy

            1 * writeStore.add(key, action)
            0 * readStore.add(key, action)
        }
    
        def "searches in both read and write stores"() {
            setup:
            def r1 = Stub(LocallyAvailableResource)
            def r2 = Stub(LocallyAvailableResource)
            def r3 = Stub(LocallyAvailableResource)
            1 * writeStore.search(key) >> {
                [r1] as Set
            }
            1 * readStore.search(key) >> {
                [r2, r3] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultJavaCompilerFactoryTest.groovy

            },
            Mock(WorkerDaemonFactory),
            Mock(JavaForkOptionsFactory),
            Mock(ExecHandleFactory),
            Stub(AnnotationProcessorDetector),
            Stub(ClassPathRegistry),
            Stub(ActionExecutionSpecFactory),
            Stub(InternalProblems),
            Stub(ProjectCacheDir)
        )
    
        def "creates in-process compiler when JavaCompileSpec is provided"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftApplicationTest.groovy

            app.implementationDependencies == project.configurations['implementation']
        }
    
        def "can create executable binary"() {
            def targetPlatform = Stub(SwiftPlatform)
            def toolChain = Stub(NativeToolChainInternal)
            def platformToolProvider = Stub(PlatformToolProvider)
    
            expect:
            def binary = app.addExecutable(identity, true, targetPlatform, toolChain, platformToolProvider)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/InMemoryDecoratedCacheTest.groovy

                    result1 = cache.get("key", producer, Stub(Runnable))
                }
                start {
                    result2 = cache.get("key", producer, Stub(Runnable))
                }
                start {
                    result3 = cache.get("key", producer, Stub(Runnable))
                }
                start {
                    result4 = cache.get("key", producer, Stub(Runnable))
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/WindowsKitWindowsSdkLocatorTest.groovy

        }
    
        def arm64() {
            def platform = Stub(NativePlatformInternal)
            def architecture = Stub(ArchitectureInternal)
            platform.architecture >> architecture
            architecture.isArm64() >> true
            platform
        }
    
        def x64() {
            def platform = Stub(NativePlatformInternal)
            def architecture = Stub(ArchitectureInternal)
            platform.architecture >> architecture
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForTaskOperationsTest.groovy

            def taskDescriptor = Stub(InternalTaskWithExtraInfoDescriptor)
            _ * taskDescriptor.getId() >> ':dummy'
            _ * taskDescriptor.getName() >> 'some task'
            _ * taskDescriptor.getParentId() >> null
            _ * taskDescriptor.getTaskPath() >> ':some:path'
            _ * taskDescriptor.getDependencies() >> [Stub(InternalOperationDescriptor)]
    
            def startEvent = Stub(InternalOperationStartedProgressEvent)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.3K bytes
    - Viewed (0)
Back to top