Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 129 for DoNothing (0.22 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicySpec.groovy

            when:
            cachePolicy.eachArtifact(Actions.doNothing())
            then:
            1 * validator.validateMutation(STRATEGY)
    
            when:
            cachePolicy.eachDependency(Actions.doNothing())
            then:
            1 * validator.validateMutation(STRATEGY)
    
            when:
            cachePolicy.eachModule(Actions.doNothing())
            then:
            1 * validator.validateMutation(STRATEGY)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy

                    public SneakyTask() {
                        ${snippets.body}
                    }
    
                    @TaskAction
                    public void doNothing() {}
                }
            """
    
            buildFile("""
                tasks.register("sneakyTask", SneakyTask) {}
            """)
    
            when:
            configurationCacheFails(":sneakyTask")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DependencySubstitutionRules.java

    public interface DependencySubstitutionRules {
        DependencySubstitutionRules NO_OP = new DependencySubstitutionRules() {
            @Override
            public Action<DependencySubstitution> getRuleAction() {
                return Actions.doNothing();
            }
    
            @Override
            public boolean rulesMayAddProjectDependency() {
                return false;
            }
        };
    
        Action<DependencySubstitution> getRuleAction();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultTaskTest.groovy

            })
            task.actions.size() == 1
        }
    
        def "doFirst() adds actions to the start of action list"() {
            given:
            Action<Task> action1 = Actions.doNothing()
            Action<Task> action2 = Actions.doNothing()
    
            expect:
            defaultTask.is(defaultTask.doFirst(action1))
            1 == defaultTask.actions.size()
    
            defaultTask.is(defaultTask.doFirst(action2))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 11:56:02 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top