Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getExecutorFactory (0.16 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy

        static long toMillis(double seconds) {
            return (long) (seconds * 1000)
        }
    
        void setShortTimeout(int millis) {
            this.timeout = millis
        }
    
        ExecutorFactory getExecutorFactory() {
            return new ExecutorFactory() {
                @Override
                ManagedExecutor create(String displayName) {
                    return new ManagedExecutorStub(ConcurrentTestUtil.this)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

                executor = new ExecutorImpl();
            }
            return executor;
        }
    
        /**
         * Creates an ExecutorFactory for the test to use.
         */
        protected ExecutorFactory getExecutorFactory() {
            return new DefaultExecutorFactory() {
                @Override
                protected ExecutorService createExecutor(String displayName) {
                    return new ExecutorImpl();
                }
            };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
Back to top