Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 834 for delegates (0.16 sec)

  1. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/DefaultClassPathRegistryTest.groovy

            when:
            registry.getClassPath("name")
    
            then:
            IllegalArgumentException e = thrown()
            e.message == 'unknown classpath \'name\' requested.'
        }
    
        def "delegates to providers to find classpath"() {
            def classpath = Mock(ClassPath)
    
            given:
            provider1.findClassPath(_) >> null
            provider2.findClassPath("name") >> classpath
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ProgressLoggingExternalResourceUploaderTest.groovy

        def "delegates upload to delegate uploader and logs progress"() {
            setup:
            expectPutBuildOperation(1072)
    
            when:
            uploader.upload(resource, location)
    
            then:
            1 * resource.open() >> inputStream
            1 * resource.contentLength >> 1072
            1 * delegate.upload(_, location) >> { resource, destination ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:31:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr5_build_scripts.adoc

    =====
    [source, kotlin]
    ----
    defaultTasks("some-task")      // Delegates to Project.defaultTasks()
    reportsDir = file("reports")   // Delegates to Project.file() and the Java Plugin
    ----
    =====
    [.multi-language-sample]
    =====
    [source, groovy]
    ----
    defaultTasks 'some-task'      // Delegates to Project.defaultTasks()
    reportsDir = file('reports')  // Delegates to Project.file() and the Java Plugin
    ----
    =====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LittleEndianByteArray.java

     *
     * @author Kevin Damm
     * @author Kyle Maddison
     */
    @ElementTypesAreNonnullByDefault
    final class LittleEndianByteArray {
    
      /** The instance that actually does the work; delegates to Unsafe or a pure-Java fallback. */
      private static final LittleEndianBytes byteArray;
    
      /**
       * Load 8 bytes into long in a little endian manner, from the substring between position and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/WellKnownClassLoaderRegistry.java

        private final PayloadClassLoaderRegistry delegate;
    
        static {
            ImmutableSet.Builder<ClassLoader> builder = ImmutableSet.builder();
            for (ClassLoader cl = PLATFORM_CLASS_LOADER; cl != null; cl = cl.getParent()) {
                builder.add(cl);
            }
            PLATFORM_CLASS_LOADERS = builder.build();
        }
    
        public WellKnownClassLoaderRegistry(PayloadClassLoaderRegistry delegate) {
            this.delegate = delegate;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            /**
             * Defines the root node of the graph. The closure delegates to a {@link NodeBuilder} instance that represents the root node.
             *
             * @param projectPath The path of the project to which the graph belongs.
             * @param moduleVersion The module version for this project.
             */
            def root(String projectPath, String moduleVersion, @DelegatesTo(NodeBuilder) Closure cl) {
                if (this.root != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

      private static final class NonCancellationPropagatingFuture<V extends @Nullable Object>
          extends AbstractFuture.TrustedFuture<V> implements Runnable {
        @CheckForNull @LazyInit private ListenableFuture<V> delegate;
    
        NonCancellationPropagatingFuture(final ListenableFuture<V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top