- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getDuration (0.22 sec)
-
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy
getOutputFilesProducedByWork() >> delegateOutputFiles } def delegateResult = Stub(CachingResult) { getExecution() >> Try.successful(delegateExecution) getDuration() >> delegateDuration getAfterExecutionOutputState() >> Optional.of(delegateOutputState) } def resolvedDelegateResult = Stub(Object) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 14:32:25 UTC 2024 - 13K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriter.java
// (if) The test fails in all of the re-runs […] the running time of a failing test with re-runs will be the running time of the first failing run. long duration = allFailed ? firstExecution.getDuration() : lastExecution.getDuration(); writeTestCase(writer, new TestCase( firstExecution.getDisplayName(), className, duration,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:57 UTC 2024 - 18.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java
); return result; } catch (Exception storeFailure) { return new AfterExecutionResult(Result.failed(storeFailure, result.getDuration()), result.getAfterExecutionOutputState().orElse(null)); } } /** * Stores the results of the given work in the build cache, unless storing was disabled for this execution or work was untracked.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 13:41:13 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy
1 * execution.canStoreOutputsInCache() >> true then: interaction { outputStored { throw failure } } then: 1 * delegateResult.getDuration() >> duration 1 * delegateResult.getAfterExecutionOutputState() >> Optional.of(afterExecutionOutputState) then: 0 * _ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:13:50 UTC 2024 - 10.2K bytes - Viewed (0)