Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 627 for Stub (0.26 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionSpec.groovy

            when:
            deps = dependencies.getDependencies(Stub(Task))
    
            then:
            visited == 2
            deps as List == [dependency]
        }
    
        def "collection dependencies are live"() {
            def task = Stub(Task)
            def dependency1 = Stub(Task)
            def dependency2 = Stub(Task)
            def dependencySource = Mock(TaskDependencyContainer)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ParameterAwareBuildControllerAdapterTest.groovy

        }
        def mapping = Stub(ModelMapping) {
            getModelIdentifierFromModelType(_) >> { Class type ->
                return Stub(ModelIdentifier) {
                    getName() >> type.simpleName
                }
            }
        }
        def delegate = Mock(InternalBuildControllerVersion2)
        def controller = new ParameterAwareBuildControllerAdapter(delegate, adapter, mapping, Stub(VersionDetails), new File("root"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 08:15:25 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvableArtifactTest.groovy

            def dependency2 = dep("group", "module2", "1-beta")
            def artifactSource = Stub(CalculatedValue)
            def ivyArt = Stub(IvyArtifactName)
            def artifactId = Stub(ComponentArtifactIdentifier)
            def otherArtifactId = Stub(ComponentArtifactIdentifier)
            def buildDependencies = Stub(TaskDependencyContainer)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolverTest.groovy

        }
    
        def "detects variants with the same name"() {
            def child1 = Stub(TestComponent) {
                getUsages() >> [
                    Stub(UsageContext) {
                        getName() >> "foo"
                    }
                ]
            }
            def child2 = Stub(TestComponent) {
                getUsages() >> [
                    Stub(UsageContext) {
                        getName() >> "foo"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:37:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy

            serviceRegistry.add(TaskContainerInternal, Stub(TaskContainerInternal))
            serviceRegistry.add(InstantiatorFactory, Stub(InstantiatorFactory))
            serviceRegistry.add(AttributesSchema, Stub(AttributesSchema))
            serviceRegistry.add(ModelRegistry, Stub(ModelRegistry))
            serviceRegistry.add(CrossProjectModelAccess, Stub(CrossProjectModelAccess))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepositoryTest.groovy

            cachePolicy.changingModuleExpiry(_, _, _) >> Stub(Expiry) {
                isMustCheck() >> mustRefreshChangingModule
            }
            moduleDescriptorCache.getCachedModuleDescriptor(_, module) >> Stub(ModuleMetadataCache.CachedMetadata) {
                getProcessedMetadata(_) >> Stub(ModuleComponentGraphResolveState) {
                    getMetadata() >> Stub(ModuleComponentResolveMetadata) {
                        isChanging() >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    // NOTOC -> TOC [P10]: A PIC call stub using P10 instructions to call the global entry
    // NOTOC -> TOC [P8]:  A PIC call stub using P8 instructions to call the global entry
    //
    // TOC   -> dynamic:              A PLT call stub is generated which saves R2.
    //                                 TOC save slot is rewritten to restore TOC.
    // NOTOC -> dynamic [P10]:        A stub using pcrel instructions is generated.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultSharedLibraryBinarySpecTest.groovy

        def namingScheme = DefaultBinaryNamingScheme.component("main").withBinaryType("sharedLibrary")
        final toolChain = Stub(NativeToolChainInternal)
        final platform = Stub(NativePlatform)
        final buildType = Stub(BuildType)
        final resolver = Stub(NativeDependencyResolver)
        def sharedLibraryFile = Mock(File)
        def sharedLibraryLinkFile = Mock(File)
    
        def "has useful string representation"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppBasePluginTest.groovy

        def project = ProjectBuilder.builder().withProjectDir(projectDir).withName("test").build()
    
        def "adds compile task for binary"() {
            def binary = Stub(DefaultCppBinary)
            binary.name >> name
            binary.names >> Names.of(name)
            binary.targetMachine >> Stub(CppPlatform)
    
            when:
            project.pluginManager.apply(CppBasePlugin)
            project.components.add(binary)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/AggregateTestResultsProviderTest.groovy

            def writer = Stub(Writer)
            def class1 = Stub(TestClassResult) {
                getId() >> 12
                getClassName() >> 'class-1'
            }
            def class2 = Stub(TestClassResult) {
                getId() >> 12
                getClassName() >> 'class-2'
            }
    
            when:
            provider.visitClasses(Stub(Action))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top