- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for getDuration (0.17 sec)
-
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/TestResultModel.java
public abstract class TestResultModel { public abstract TestResult.ResultType getResultType(); public abstract long getDuration(); public abstract String getTitle(); public String getFormattedDuration() { return TimeFormatting.formatDurationVeryTerse(getDuration()); } public String getStatusClass() { switch (getResultType()) { case SUCCESS:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/Result.java
protected Result(Duration duration, Try<Execution> execution) { this.duration = duration; this.execution = execution; } protected Result(Result parent) { this(parent.getDuration(), parent.getExecution()); } public static Result failed(Throwable t, Duration duration) { return new Result(duration, Try.failure(t)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/CompositeTestResults.java
} public int getIgnoredCount() { return ignored.size(); } public int getRunTestCount() { return tests - getIgnoredCount(); } @Override public long getDuration() { return duration; } @Override public String getFormattedDuration() { return getTestCount() == 0 ? "-" : super.getFormattedDuration(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/task/internal/java/DefaultAnnotationProcessorResult.java
@Override public String getClassName() { return className; } @Override public Type getType() { return type; } @Override public Duration getDuration() { return duration; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultAnnotationProcessorResult.java
@Override public String getClassName() { return className; } @Override public String getType() { return type; } @Override public Duration getDuration() { return duration; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 29 00:04:07 UTC 2019 - 1.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/events/InternalJavaCompileTaskOperationResult.java
String TYPE_ISOLATING = "ISOLATING"; String TYPE_AGGREGATING = "AGGREGATING"; String TYPE_UNKNOWN = "UNKNOWN"; String getClassName(); String getType(); Duration getDuration(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.4K bytes - Viewed (0) -
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/ide/tooling-api/src/main/java/org/gradle/tooling/events/task/java/JavaCompileTaskOperationResult.java
*/ Type getType(); /** * Returns the total execution time of this annotation processor. */ Duration getDuration(); /** * Type of annotation processor. * * @since 5.1 */ enum Type { ISOLATING, AGGREGATING, UNKNOWN }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.1K bytes - Viewed (0)