- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getDuration (0.3 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) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/NamedOperation.groovy
def instant = end.get() if (instant == null) { throw new IllegalStateException("Operation '$name' has not completed yet.") } return instant } Duration getDuration() { return getEnd() - start } void completed(Instant when) { end.compareAndSet(null, when) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStep.java
// As this is _roughly_ the amount of time that is avoided by reusing the outputs, // which is currently the _only_ thing this value is used for. Duration originExecutionTime = result.getDuration().plus(Duration.ofMillis(snapshotOutputDuration)); HashCode buildCacheKey = ((BuildCacheKeyInternal) cacheKeyCalculatedState.getKey()).getHashCodeInternal(); return new OriginMetadata(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/DefaultTestReport.java
final TestResult testResult = model.addTest(classResult.getId(), classResult.getClassName(), classResult.getClassDisplayName(), collectedResult.getName(), collectedResult.getDisplayName(), collectedResult.getDuration()); if (collectedResult.getResultType() == SKIPPED) { testResult.setIgnored(); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 12:58:15 UTC 2024 - 7.4K 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) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java
return new DefaultAnnotationProcessorResult(result.getClassName(), toAnnotationProcessorResultType(result.getType()), result.getDuration()); } private static AnnotationProcessorResult.Type toAnnotationProcessorResultType(String type) { if (type.equals(InternalAnnotationProcessorResult.TYPE_AGGREGATING)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 67.5K bytes - Viewed (0)