Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,570 for executors (0.15 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CrossVersionIntegrationSpec.groovy

        }
    
        GradleExecuter version(GradleDistribution dist) {
            def executer = dist.executer(temporaryFolder, IntegrationTestBuildContext.INSTANCE)
            if (gradleUserHomeDir) {
                executer.withGradleUserHomeDir(gradleUserHomeDir)
            }
            executer.inDirectory(testDirectory)
            executers << executer
            return executer
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultConditionalExecutionQueueTest.groovy

        }
    
        def "stopping the queue stops the underlying executor"() {
            ExecutorFactory factory = Mock(ExecutorFactory)
            ManagedExecutor executor = Mock(ManagedExecutor)
    
            when:
            queue = new DefaultConditionalExecutionQueue(DISPLAY_NAME, workerLimits, factory, workerLeaseService)
    
            then:
            1 * factory.create(_) >> executor
    
            when:
            queue.stop()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. subprojects/core/src/crossVersionTest/groovy/org/gradle/testfixtures/ProjectBuilderCrossVersionIntegrationTest.groovy

            def executer = buildContext.distribution(gradleVersion).executer(temporaryFolder, getBuildContext())
            executer.inDirectory(projectDir)
            executer.withTasks(tasks)
            executers << executer
            executer
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorNestingIntegrationTest.groovy

                @Internal WorkerExecutor executor
            """
            workerClass.constructorArgs = "WorkerExecutor executor"
            workerClass.constructorAction = "this.executor = executor"
            workerClass.action = """
                def theGreeting = parameters.greeting
                parameters.childSubmissions.times {
                    executor.$nestedIsolationMode().submit(SecondLevelExecution) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractIdleService.java

      protected abstract void shutDown() throws Exception;
    
      /**
       * Returns the {@link Executor} that will be used to run this service. Subclasses may override
       * this method to use a custom {@link Executor}, which may configure its worker thread with a
       * specific name, thread group or priority. The returned executor's {@link
       * Executor#execute(Runnable) execute()} method is called when this service is started and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestVerificationFailureHandlingIntegrationTest.groovy

            '''
        }
    
        void assertFatalTestExecutionError() {
            failure.assertThatCause(Matchers.matchesRegexp("Process 'Gradle Test Executor \\d+' finished with non-zero exit value \\d+"))
        }
    
        def withTestVerificationFailure() {
            file('src/test/java/example/UnitTestWithVerificationFailure.java').java '''
                package example;
    
                import org.junit.jupiter.api.Test;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestListenerIntegrationTest.groovy

            containsLine(result.getOutput(), "START [Test class SomeOtherTest] [SomeOtherTest]")
            containsLine(result.getOutput(), "FINISH [Test class SomeOtherTest] [SomeOtherTest] [SUCCESS] [1]")
            containsLine(result.getOutput(), "START [Test ${maybeParentheses('pass')}(SomeOtherTest)] [${maybeParentheses('pass')}]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

      protected abstract void shutDown() throws Exception;
    
      /**
       * Returns the {@link Executor} that will be used to run this service. Subclasses may override
       * this method to use a custom {@link Executor}, which may configure its worker thread with a
       * specific name, thread group or priority. The returned executor's {@link
       * Executor#execute(Runnable) execute()} method is called when this service is started and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

            executer.gradleUserHomeDir.file('init.gradle') << 'println "greetings from user home"'
    
            when:
            run()
    
            then:
            output.contains("greetings from user home")
        }
    
        def "executes init scripts from init.d directory in user home dir in alphabetical order"() {
            given:
            executer.requireOwnGradleUserHomeDir()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorTest.groovy

            and:
            requirement.classLoaderStructure.spec.classpath.contains(foo.toURI().toURL())
        }
    
        def "executor executes a given work action in a daemon"() {
            when:
            workerExecutor.processIsolation().submit(TestExecutable.class, Actions.doNothing())
    
            then:
            1 * workerThreadRegistry.workerThread >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 15:27:52 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top