Class RunResult
java.lang.Object
org.apache.maven.surefire.api.suite.RunResult
Represents a test-run-result; this may be from a single test run or an aggregated result.
In the case of timeout==true, the run-counts reflect the state of the test-run at the time of the timeout.
In the case of timeout==true, the run-counts reflect the state of the test-run at the time of the timeout.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
private final String
static final int
private final int
private final int
private static final int
private final int
static final int
private final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionRunResult
(int completedCount, int errors, int failures, int skipped) RunResult
(int completedCount, int errors, int failures, int skipped, int flakes) RunResult
(int completedCount, int errors, int failures, int skipped, int flakes, String failure, boolean timeout) RunResult
(int completedCount, int errors, int failures, int skipped, String failure, boolean timeout) -
Method Summary
-
Field Details
-
completedCount
private final int completedCount -
errors
private final int errors -
failures
private final int failures -
skipped
private final int skipped -
flakes
private final int flakes -
failure
-
timeout
private final boolean timeout -
SUCCESS
public static final int SUCCESS- See Also:
-
FAILURE
public static final int FAILURE- See Also:
-
NO_TESTS
private static final int NO_TESTS- See Also:
-
-
Constructor Details
-
RunResult
public RunResult(int completedCount, int errors, int failures, int skipped) -
RunResult
public RunResult(int completedCount, int errors, int failures, int skipped, int flakes) -
RunResult
public RunResult(int completedCount, int errors, int failures, int skipped, String failure, boolean timeout) -
RunResult
public RunResult(int completedCount, int errors, int failures, int skipped, int flakes, String failure, boolean timeout)
-
-
Method Details
-
timeout
-
failure
-
errorCode
-
getStackTrace
-
getCompletedCount
public int getCompletedCount() -
getErrors
public int getErrors() -
getFlakes
public int getFlakes() -
getFailures
public int getFailures() -
getSkipped
public int getSkipped() -
getFailsafeCode
-
isErrorFree
public boolean isErrorFree() -
isInternalError
public boolean isInternalError() -
isFailureOrTimeout
public boolean isFailureOrTimeout() -
isFailure
public boolean isFailure() -
getFailure
-
isTimeout
public boolean isTimeout() -
aggregate
-
noTestsRun
-
equals
-
hashCode
public int hashCode()
-