- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 4,424 for Executer (0.15 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonFeedbackIntegrationSpec.groovy
println 'finished the nap...' } } """ when: def sleeper = executer.withArguments('-i').withTasks('sleep').start() then: poll(60) { assert readLog(executer.daemonBaseDir).contains("taking a nap...") } when: executer.withArguments("--stop").run() then: sleeper.waitForFailure() poll(5, 1) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginConfigurationIntegrationTest.groovy
""" when: run("installDist") def out = new ByteArrayOutputStream() def executer = new ScriptExecuter() executer.workingDir = testDirectory executer.standardOutput = out executer.commandLine = "build/install/test/bin/test" def result = executer.run() then: result.assertNormalExitValue()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaProjectIntegrationTest.groovy
package org.gradle; public class NotATest {} """ expect: executer.expectDocumentedDeprecationWarning("No test executed. This behavior has been deprecated. " + "This will fail with an error in Gradle 9.0. There are test sources present but no test was executed. Please check your test configuration. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy
} } """ given: executer.beforeExecute { executer.withStackTraceChecksDisabled() } expectEvent("started") expectEvent("block") def client = new DaemonClientFixture(executer.withArgument("--debug").withTasks("block").start()) waitFor("started") daemons.daemon.assertBusy()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 10.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/InternalGradleFailuresIntegrationTest.groovy
import org.gradle.integtests.fixtures.AbstractIntegrationSpec import org.gradle.integtests.fixtures.executer.ExecutionFailure class InternalGradleFailuresIntegrationTest extends AbstractIntegrationSpec { def setup() { executer.requireIsolatedDaemons() executer.requireOwnGradleUserHomeDir() executer.requireDaemon() buildScript """ task hello() { doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:54 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/AbstractVisualStudioIntegrationSpec.groovy
// Gradle needs to be isolated so that msbuild does not leave behind daemons assert executer.distribution.gradleHomeDir != null assert !executer.usesSharedDaemons() def executer = new MSBuildExecutor(testDirectory, toolChain) executer.withArgument('/p:Platform=Win32') return executer } protected SolutionFile solutionFile(String path) { return solutionFile(file(path))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultPhasedBuildActionExecuterTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/StoppingDaemonIntegrationSpec.groovy
when: executer.withJavaHome(AvailableJavaHomes.differentJdk.javaHome) executer.withArguments("--stop").run() then: stopsSingleDaemon() } def "reports exact number of daemons stopped and keeps console output clean"() { given: executer.noExtraLogging() executer.run() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonIntegrationSpec.groovy
import org.gradle.integtests.fixtures.executer.GradleHandle import org.gradle.test.fixtures.ConcurrentTestUtil abstract class DaemonIntegrationSpec extends AbstractIntegrationSpec { def setup() { executer.requireDaemon() executer.requireIsolatedDaemons() } void stopDaemonsNow() { result = executer.withArguments("--stop", "--info").run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TestProxyServer.groovy
} void configureProxy(GradleExecuter executer, String proxyScheme, String userName = null, String password = null) { configureProxyHost(executer, proxyScheme) if (userName) { executer.withArgument("-D${proxyScheme}.proxyUser=${userName}") } if (password) { executer.withArgument("-D${proxyScheme}.proxyPassword=${password}") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4K bytes - Viewed (0)