Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 5,566 for Executer (0.42 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitScriptHandlingIntegrationTest.groovy

            """
            distro
        }
    
        def runWithGradleHome(TestFile gradleHome) {
            def copiedDistro = new DefaultGradleDistribution(executer.distribution.version, gradleHome, null)
            def daemonExecuter = new DaemonGradleExecuter(copiedDistro, executer.testDirectoryProvider)
            executer.copyTo(daemonExecuter)
            return daemonExecuter.run()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/transport/NetworkOperationBackOffAndRetryTest.groovy

            when:
            int attempts = 0
            Callable operation = {
                attempts++
                throw ex
            }
            NetworkOperationBackOffAndRetry executer = new NetworkOperationBackOffAndRetry(3, 1)
            executer.withBackoffAndRetry(operation)
    
            then:
            attempts == 3
            Exception failure = thrown()
            if (failure instanceof UncheckedIOException) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 04:09:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

            delegate = new BuildSessionActionExecutor() {
                @Override
                BuildActionRunner.Result execute(BuildAction action, BuildSessionContext context) {
                    declareInput(file)
                    return BuildActionRunner.Result.of(null)
                }
            }
            executer = executer()
        }
    
        private void buildDeclaresInputsAndTriggersChange() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PostPluginResolutionFailuresIntegrationSpec.groovy

        @Rule
        MavenHttpPluginRepository pluginRepo = MavenHttpPluginRepository.asGradlePluginPortal(executer, mavenRepo)
    
        def setup() {
            executer.requireOwnGradleUserHomeDir()
        }
    
        def "error loading plugin"() {
            pluginBuilder.addUnloadablePlugin(PLUGIN_ID)
            pluginBuilder.publishAs(GROUP, ARTIFACT, VERSION, pluginRepo, executer).allowAll()
    
            buildScript applyPlugin()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestInputAnnotationFailuresIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/24979")
    
        def "cannot annotate type 'java.net.URL' with @Input"() {
    
            executer.beforeExecute {
                executer.noDeprecationChecks()
                executer.withArgument("-Dorg.gradle.internal.max.validation.errors=20")
            }
    
            given:
            buildFile << """
                interface NestedBean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpsIntegTest.groovy

            keyStore.configureServerCert(executer)
            succeeds 'publish'
    
            then:
            verifyPublications()
        }
    
        def "publish with server and client certificate"() {
            given:
            keyStore.enableSslWithServerAndClientCerts(server)
            initBuild()
    
            when:
            expectPublication()
            keyStore.configureServerAndClientCerts(executer)
            succeeds 'publish'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheMarkingStrategyIntegrationTest.groovy

    class CacheMarkingStrategyIntegrationTest extends AbstractIntegrationSpec {
        @Override
        def setup() {
            executer.requireOwnGradleUserHomeDir()
        }
    
        def writeInitScript(String markingStrategy) {
            def initDir = new File(executer.gradleUserHomeDir, "init.d")
            initDir.mkdirs()
            new File(initDir, "cache-settings.gradle") << """
                beforeSettings { settings ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy

            when:
            executer.withEnvironmentVars(['JAVA_MAIN_CLASS_1234': '1234'])
            succeeds("compileAll")
    
            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
            assertOneCompilerDaemonIsRunning()
    
            when:
            executer.withWorkerDaemonsExpirationDisabled()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

    
    import org.gradle.integtests.fixtures.executer.ExecutionFailure
    import org.gradle.integtests.fixtures.executer.ExecutionResult
    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.integtests.fixtures.executer.GradleHandle
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult
    import org.gradle.integtests.fixtures.executer.UnexpectedBuildFailure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ClientModuleDependenciesResolveIntegrationTest.groovy

            projectB.jar.expectGet()
            projectAInRepo1.ivy.expectGetMissing()
            projectAInRepo2.pom.expectGet()
            projectAInRepo2.artifact.expectGet()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 03 18:15:26 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top