Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 806 for executors (0.18 sec)

  1. platforms/core-runtime/wrapper-main/src/crossVersionTest/groovy/org/gradle/integtests/wrapper/WrapperOldJavaCrossVersionIntegrationTest.groovy

            when:
            GradleExecuter executor = prepareWrapperExecuter(previous, current).withJavaHome(jdk.javaHome)
    
            then:
            def result = executor.usingExecutable('gradlew').withArgument('help').runWithFailure()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

            outputContains "FINISH [Gradle Test Run :test] [Gradle Test Run :test]\n"
            result.output.readLines().find { it.matches "START \\[Gradle Test Executor \\d+] \\[Gradle Test Executor \\d+]" }
            result.output.readLines().find { it.matches "FINISH \\[Gradle Test Executor \\d+] \\[Gradle Test Executor \\d+]" }
            outputContains "START [Test suite 'Gradle suite'] [Gradle suite]\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        val defaultExecuter = "embedded"
    
        // For all the other executers, add an executer specific task
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {}
            if (executer == defaultExecuter) {
                // The test task with the default executer runs with 'check'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

            then:
            instant.thing == operation.thing.end
        }
    
        static class Worker {
            final Executor executor
            final Object lock = new Object()
            int count
    
            Worker(Executor executor) {
                this.executor = executor
            }
    
            void run(Runnable runnable, int timeoutSeconds) {
                def finished = new CountDownLatch(1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

    fun createQuickFeedbackTasks() {
        val testType = TestType.CROSSVERSION
        val defaultExecuter = "embedded"
        val prefix = testType.prefix
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {
                this.setSystemPropertiesOfTestJVM("latest")
                this.systemProperties["org.gradle.integtest.crossVersion"] = "true"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/BuildActionsFactoryTest.groovy

        void isDaemon(def action) {
            def runnable = unwrapAction(action)
            def executor = unwrapExecutor(runnable)
            assert executor instanceof DaemonClient
        }
    
        void isInProcess(def action) {
            def runnable = unwrapAction(action)
            def executor = unwrapExecutor(runnable)
            assert executor instanceof RunInProcess
        }
    
        void isSingleUseDaemon(def action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultPlanExecutorTest.groovy

        def workerLeaseService = Mock(WorkerLeaseService)
        def workerLease = Mock(WorkerLeaseRegistry.WorkerLease)
        def executor = new DefaultPlanExecutor(new DefaultWorkerLimits(1), executorFactory, workerLeaseService, cancellationHandler, coordinationService, new DefaultInternalOptions([:]))
    
        def "executes tasks until no further tasks remain"() {
            def gradle = Mock(Gradle)
            def project = Mock(Project)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * calling thread. Tasks are run to completion before a {@code Future} is returned to the caller
       * (unless the executor has been shutdown).
       *
       * <p>The returned executor is backed by the executor returned by {@link
       * MoreExecutors#newDirectExecutorService} and subject to the same constraints.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:12:37 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/GradleBuildCacheServiceCorruptionTest.groovy

                        dir = rootDir
                        tasks = ["jar"]
                    }
                }
            """
            executer.withArguments("--parallel", "--info")
            expect:
            succeeds("clean", "breakBuild")
            // This fails when running with the forking executor
            succeeds("clean", "breakBuild")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/SampleOutputNormalizer.groovy

     * limitations under the License.
     */
    package org.gradle.integtests.fixtures.logging
    
    import groovy.transform.CompileStatic
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult
    import org.gradle.internal.logging.ConsoleRenderer
    import org.gradle.exemplar.executor.ExecutionMetadata
    import org.gradle.exemplar.test.normalizer.OutputNormalizer
    
    import java.util.regex.Pattern
    
    @CompileStatic
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top