Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 645 for executors (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

                }
                """
    
            when:
            run "thing"
    
            then:
            result.assertTasksExecuted(":a:thing", ":b:thing", ":a:a:thing", ":b:b:thing")
    
            when:
            executer.inDirectory(file("a"))
            run "thing"
    
            then:
            result.assertTasksExecuted(":a:thing", ":a:a:thing")
    
            // camel case matching
            when:
            run "th"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy

     */
    package org.gradle.api
    
    import org.gradle.api.internal.FeaturePreviewsActivationFixture
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.executer.ArtifactBuilder
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

    import org.gradle.testing.fixture.TestNGCoverage
    import spock.lang.Issue
    
    class TestNGUpToDateCheckIntegrationTest extends AbstractIntegrationSpec {
    
        def setup() {
            executer.noExtraLogging()
            file('src/test/java/SomeTest.java') << '''
                public class SomeTest {
                    @org.testng.annotations.Test(groups = {"group to include"})
                    public void pass() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTransformNodeIdBuildOperationIntegrationTest.groovy

        def buildOperations = new BuildOperationsFixture(executer, testDirectoryProvider)
    
        def setup() {
            // So that dependency resolution results from previous executions do not interfere
            requireOwnGradleUserHomeDir()
        }
    
        def "transform step node ids are stable when using load after store"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top