Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for DoNothing (0.4 sec)

  1. platforms/documentation/docs/src/snippets/initScripts/externalDependency/tests-groovy/externalInitDependency.groovy.sample.conf

    executable: gradle
    args: doNothing
    flags: "--init-script=init.gradle --quiet"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 127 bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/test/groovy/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMapTest.groovy

            def instantiator = Mock(NamedEntityInstantiator)
            def modelMap = DomainObjectCollectionBackedModelMap.wrap("thing", SomeType, backingCollection, instantiator, Named.Namer.INSTANCE, Actions.doNothing())
    
            when:
            modelMap.create("alma")
    
            then:
            1 * instantiator.create("alma", SomeType) >>  { new SomeType(name: "alma") }
            1 * backingCollection.add({ item -> item.name == "alma" })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorTest.groovy

        }
    
        def "executor executes a given work action in a daemon"() {
            when:
            workerExecutor.processIsolation().submit(TestExecutable.class, Actions.doNothing())
    
            then:
            1 * workerThreadRegistry.workerThread >> true
            1 * executionQueue.submit(_) >> { args -> task = args[0] }
    
            when:
            task.getExecution().run()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 15:27:52 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMinimalDependencyVariant.java

            attributesMutator = GUtil.elvis(attributesMutator, Actions.doNothing());
            capabilitiesMutator = GUtil.elvis(capabilitiesMutator, Actions.doNothing());
    
            if (delegate instanceof DefaultMinimalDependencyVariant) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/keystore/TestKeyStore.groovy

            Action<SslContextFactory.Server> configureServer = Actions.doNothing()
        ) {
            server.enableSsl(trustStore.path, trustStorePassword, null, null, configureServer)
        }
    
        void enableSslWithServerAndClientCerts(
            HttpServerFixture server,
            Action<SslContextFactory.Server> configureServer = Actions.doNothing()
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Actions.java

         *
         * A new action instance is created each time.
         *
         * @return An action object with an empty implementation
         */
        @SuppressWarnings("unchecked")
        public static <T> Action<T> doNothing() {
            return (Action<T>) DO_NOTHING;
        }
    
        private static class NullAction<T> implements Action<T>, Serializable {
            @Override
            public void execute(T t) {
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorParallelTest.groovy

                6.times {
                    start {
                        thread.blockUntil.allStarted
                        WorkQueue queue = workerExecutor."${isolationMode}" Actions.doNothing()
                        queue.submit(TestExecution.class, Actions.doNothing())
                    }
                }
                instant.allStarted
            }
    
            then:
            6 * workerThreadRegistry.workerThread >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:22:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/main/java/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMap.java

            create(name, elementType, Actions.doNothing());
        }
    
        @Override
        public void create(String name, Action<? super T> configAction) {
            create(name, elementType, configAction);
        }
    
        @Override
        public <S extends T> void create(String name, Class<S> type) {
            create(name, type, Actions.doNothing());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Runnables.java

          new Runnable() {
            @Override
            public void run() {}
          };
    
      /** Returns a {@link Runnable} instance that does nothing when run. */
      public static Runnable doNothing() {
        return EMPTY_RUNNABLE;
      }
    
      private Runnables() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Runnables.java

          new Runnable() {
            @Override
            public void run() {}
          };
    
      /** Returns a {@link Runnable} instance that does nothing when run. */
      public static Runnable doNothing() {
        return EMPTY_RUNNABLE;
      }
    
      private Runnables() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top