Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,251 for delegates (0.21 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDependencyTest.groovy

            given:
            1 * callable.call() >> null
    
            when:
            dependency.add(callable)
    
            then:
            dependency.getDependencies(task) == emptySet()
        }
    
        def "delegates to Provider to determine build dependencies"() {
            def provider = Mock(ProviderInternal)
    
            given:
            1 * provider.producer >> ValueSupplier.ValueProducer.task(otherTask)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/cache/internal/SplitFileContentCacheFactory.java

    import java.io.File;
    import java.io.IOException;
    
    /**
     * A {@link FileContentCacheFactory} that delegates to the global cache for files that are known to be immutable and shared between different builds.
     * All other requests are delegated to the build-local cache. Closing this factory will only close the local delegate, not the global one.
     */
    public class SplitFileContentCacheFactory implements FileContentCacheFactory, Closeable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 18 16:53:35 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/internal/typeconversion/FlatteningNotationParser.java

     */
    public class FlatteningNotationParser<N, T> implements NotationParser<N, Set<T>> {
    
        private final NotationParser<N, T> delegate;
    
        public FlatteningNotationParser(NotationParser<N, T> delegate) {
            assert delegate != null : "delegate cannot be null";
            this.delegate = delegate;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage.go

    	return r.store.GetResetFields()
    }
    
    // ConvertToTable delegates to the store, implements TableConverter
    func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) {
    	return r.store.ConvertToTable(ctx, object, tableOptions)
    }
    
    // Update alters the status subset of an object. Delegates to the store
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 23:43:34 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignMutableWorkspaceStepTest.groovy

        def delegateResult = Stub(CachingResult) {
            duration >> Duration.ZERO
            execution >> Try.successful(delegateExecution)
        }
        def step = new AssignMutableWorkspaceStep<>(delegate)
        def work = Stub(MutableUnitOfWork)
    
        def "delegates with assigned mutable workspace"() {
            def delegateOutput = new Object()
            def workspace = file("workspace")
            def workspaceProvider = Mock(MutableWorkspaceProvider)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 18:58:57 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/IdentifyStepTest.groovy

    class IdentifyStepTest extends StepSpec<ExecutionRequestContext> {
        def delegateResult = Mock(Result)
        def inputFingerprinter = Mock(InputFingerprinter)
        def step = new IdentifyStep<>(buildOperationRunner, delegate)
    
    
        def "delegates with assigned workspace"() {
            def inputSnapshot = Mock(ValueSnapshot)
            def inputFilesFingerprint = Mock(CurrentFileCollectionFingerprint)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/MavenUniqueSnapshotExternalResourceArtifactResolverTest.groovy

    import spock.lang.Specification
    
    class MavenUniqueSnapshotExternalResourceArtifactResolverTest extends Specification {
    
        def delegate = Mock(ExternalResourceArtifactResolver)
        def resolver = new MavenUniqueSnapshotExternalResourceArtifactResolver(delegate, new MavenUniqueSnapshotModuleSource("timestamp"))
    
        def "creates timestamped artifact"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultIsolatedProjectSpec.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.internal.project
    
    
    import spock.lang.Specification
    
    class DefaultIsolatedProjectSpec extends Specification {
    
        def "delegates equals and hashCode to project"() {
            given:
            def project = Mock(ProjectInternal)
            def subject = new DefaultIsolatedProject(project, project)
    
            when:
            def hashCode = subject.hashCode()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 13:01:58 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

     * the License.
     */
    package com.google.common.collect;
    
    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */
    @ElementTypesAreNonnullByDefault
    class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final ImmutableMultiset<Object> EMPTY =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolver.java

     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.conflict;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * The default conflict resolver that delegates to the nearest strategy.
     *
     * @see NearestConflictResolver
     * @deprecated As of 3.0, use a specific implementation instead, e.g. {@link NearestConflictResolver}
     */
    @Deprecated
    @Named
    @Singleton
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top