- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for assertNormalExitValue (0.54 sec)
-
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginConfigurationIntegrationTest.groovy
executer.workingDir = testDirectory executer.standardOutput = out executer.commandLine = "build/install/test/bin/test" def result = executer.run() then: result.assertNormalExitValue() out.toString() == TextUtil.toPlatformLineSeparators("all good\n") } @Requires(UnitTestPreconditions.Jdk9OrLater) def "can configure using project extension for main class and main module"() {
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-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy
builder.environment('APPLICATION_OPTS', '-DtestValue=value -DtestValue2=\'some value\' -DtestValue3=some\\ value') } def result = builder.run() then: result.assertNormalExitValue() } def canUseDefaultJvmArgsToPassMultipleOptionsToJvmWhenRunningScript() { file("build.gradle") << '''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 22:15:44 UTC 2024 - 15.5K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/ExecResult.java
* * @return this * @throws ExecException if the process exited with a non-zero exit value */ ExecResult assertNormalExitValue() throws ExecException; /** * Re-throws any failure executing this process. * * @return this * @throws ExecException the execution failure */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecAction.java
@Override public ExecResult execute() { ExecHandle execHandle = build(); ExecResult execResult = execHandle.start().waitForFinish(); if (!isIgnoreExitValue()) { execResult.assertNormalExitValue(); } return execResult; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 11 23:18:40 UTC 2020 - 1.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/worker/DefaultWorkerProcessSpec.groovy
} } then: 1 * execHandle.start() 1 * execResult.rethrowFailure() >> execResult 1 * execResult.assertNormalExitValue() >> execResult 1 * execHandle.abort() 1 * acceptor.stop() } def startThrowsExceptionOnChildProcessFailureAndCleansUp() { ExecHandleListener listener
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 07:21:35 UTC 2021 - 6.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/xcode/AbstractLocator.java
execAction.environment("DEVELOPER_DIR", developerDir); } execAction.setStandardOutput(outputStream); execAction.execute().assertNormalExitValue(); cachedLocation = new File(outputStream.toString().replace("\n", "")); } return cachedLocation; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcess.java
} } private void onProcessStop(ExecResult execResult) { lock.lock(); try { try { execResult.rethrowFailure().assertNormalExitValue(); } catch (Throwable e) { processFailure = e; } running = false; condition.signalAll(); } finally { lock.unlock();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 14:39:33 UTC 2024 - 8.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/DefaultJavaExecAction.java
@Override public ExecResult execute() { ExecHandle execHandle = build(); ExecResult execResult = execHandle.start().waitForFinish(); if (!isIgnoreExitValue()) { execResult.assertNormalExitValue(); } return execResult; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 02 16:14:10 UTC 2021 - 2.1K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/DefaultOsXJavaHomeCommand.java
execHandleBuilder.setErrorOutput(outputStream); // verbose output is written to stderr execHandleBuilder.setStandardOutput(new ByteArrayOutputStream()); execHandleBuilder.build().start().waitForFinish().assertNormalExitValue(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 3.6K bytes - Viewed (0)