- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for rethrowsFailureWhenFailureIsRuntimeException (0.53 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/TaskStateInternalTest.groovy
public void rethrowFailureDoesNothingWhenTaskDidNotFail() { state.setOutcome(TaskExecutionOutcome.EXECUTED) state.rethrowFailure() } @Test public void rethrowsFailureWhenFailureIsRuntimeException() { RuntimeException failure = new RuntimeException() state.setOutcome(failure) try { state.rethrowFailure() fail()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 30 07:54:03 UTC 2020 - 3.7K bytes - Viewed (0)