- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for executeFailure (0.23 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy
if (result.exitCode != 0) { throw new RuntimeException("Could not execute $file. Error: ${result.error}, Output: ${result.out}") } return result } ExecOutput executeFailure(List args, List env) { def result = execute(args, env) if (result.exitCode == 0) { throw new RuntimeException("Unexpected success, executing $file. Error: ${result.error}, Output: ${result.out}")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.8K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
return new TestFileHelper(this).executeSuccess(Arrays.asList(args), null); } public ExecOutput execWithFailure(List<?> args, List<?> env) { return new TestFileHelper(this).executeFailure(args, env); } public ExecOutput execute(List<?> args, List<?> env) { return new TestFileHelper(this).executeSuccess(args, env); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0)