Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,136 for executors (0.29 sec)

  1. 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)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutorTest.groovy

            )
        }
    
        def "doesn't do anything if rule is null"() {
            def id = new Id('Alicia')
    
            when:
            executor.execute(id, null, detailsToResult, onCacheMiss, cachePolicy)
    
            then:
            0 * _
        }
    
        def "executes the rule without caching if the rule is not cacheable"() {
            withNonCacheableToUpperCaseRule()
            def id = new Id('Alicia')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy

                    }
                }
            }
        }
    }
    """
            executer.withArgument('--parallel')
            executer.withArgument('--max-workers=3') // needs to be set to the maximum number of expectConcurrentExecution() calls
            executer.withArgument('--info')
        }
    
        def "executes dependency project targets concurrently"() {
            projectDependency from: 'a', to: ['b', 'c', 'd']
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            //
    
            assertEquals(16, executions.size());
    
            assertEquals("clean:clean", executions.get(0).getMojoDescriptor().getFullGoalName());
            assertEquals("it:xpp3-writer", executions.get(1).getMojoDescriptor().getFullGoalName());
            assertEquals("it:java", executions.get(2).getMojoDescriptor().getFullGoalName());
            assertEquals("it:xpp3-reader", executions.get(3).getMojoDescriptor().getFullGoalName());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 20:57:17 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. 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)
  9. android/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)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy

                // Broken in 5.12.1, fixed in 5.13
                assert containsLinesThatMatch(result.output,
                    "Gradle Test Executor \\d+ -> static out",
                    "Gradle Test Executor \\d+ -> static err",
                    "Gradle Test Executor \\d+ -> constructor out",
                    "Gradle Test Executor \\d+ -> constructor err"
                )
            }
    
            outputContains expectedOutput('The Foo Test')
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top