Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,490 for delegates (0.18 sec)

  1. platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyServiceChain.java

            private final PublicKeyResultBuilder delegate;
            public boolean hasResult;
    
            private FirstMatchBuilder(PublicKeyResultBuilder delegate) {
                this.delegate = delegate;
            }
    
            @Override
            public void keyRing(PGPPublicKeyRing keyring) {
                delegate.keyRing(keyring);
                hasResult = true;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultComponentSelectionTest.groovy

            selection.rejected
            selection.rejectionReason == "worse"
        }
    
        def 'delegates to metadata provider for metadata access'() {
            given:
            metadataProvider.usable >> true
    
            when:
            selection.getMetadata()
    
            then:
            1 * metadataProvider.componentMetadata
        }
    
        def 'delegates to metadata provider for ivy module descriptor access'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/configuration/BuildOperationScriptPluginTest.groovy

        def buildOperationScriptPlugin = new BuildOperationScriptPlugin(decoratedScriptPlugin, buildOperationRunner, userCodeApplicationContext)
        def target = "Test Target"
    
        def "delegates to decorated script plugin via build operation"() {
            when:
            buildOperationScriptPlugin.apply(target)
    
            then:
            2 * scriptSource.getResource() >> scriptSourceResource
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractSkipEmptyWorkStepTest.groovy

            then:
            1 * delegate.execute(work, {
                it.inputProperties as Map == ["known": knownSnapshot]
                it.inputFileProperties as Map == ["known-file": knownFileFingerprint]
            }) >> delegateResult
            1 * workInputListeners.broadcastFileSystemInputsOf(work, allFileInputs)
            0 * _
    
            result == delegateResult
        }
    
        def "delegates when work has sources"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            }
    
            LifecycleMappingDelegate delegate;
            if (Arrays.binarySearch(DefaultLifecycles.STANDARD_LIFECYCLES, lifecycle.getId()) >= 0) {
                delegate = standardDelegate;
            } else {
                delegate = delegates.get(lifecycle.getId());
                if (delegate == null) {
                    delegate = standardDelegate;
                }
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ShortCircuitEmptyConfigurationResolverSpec.groovy

            1 * lockingState.lockedDependencies >> [DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId('org', 'foo'), '1.0')]
            1 * delegate.resolveGraph(resolveContext) >> delegateResults
            results == delegateResults
        }
    
        def "delegates to backing service to resolve build dependencies when there are one or more dependencies"() {
            given:
            ResolverResults delegateResults = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/plugins/ApplicationPluginTest.groovy

        }
    
        void "mainClassName in project delegates to mainClassName in startScripts task"() {
            when:
            plugin.apply(project);
            project.mainClassName = "Acme"
    
            then:
            def startScripts = project.tasks[ApplicationPlugin.TASK_START_SCRIPTS_NAME]
            startScripts.mainClassName == "Acme"
        }
    
        void "applicationDefaultJvmArgs in project delegates to jvmArgs in run task"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ArtifactHandlerDelegate.kt

        internal
        abstract val delegate: ArtifactHandler
    
        override fun add(configurationName: String, artifactNotation: Any): PublishArtifact =
            delegate.add(configurationName, artifactNotation)
    
        override fun add(configurationName: String, artifactNotation: Any, configureClosure: Closure<Any>): PublishArtifact =
            delegate.add(configurationName, artifactNotation, configureClosure)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

        }
    
        def "mixes in toString() implementation that delegates to delegate object when it has a displayName property"() {
            def state = Stub(ModelElementState)
            def delegate = new Object() {
                String getDisplayName() {
                    return "<delegate>"
                }
            }
    
            expect:
            def proxyClass = generate(SomeType, delegate.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() {
      @Throws(IOException::class)
      override fun createServerSocket(): ServerSocket {
        val serverSocket = delegate.createServerSocket()
        return configureServerSocket(serverSocket)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top