Package org.testng.internal
Class ExitCode
java.lang.Object
org.testng.internal.ExitCode
|--------------------|---------|-------|------------|------------------------------------------|
| FailedWithinSuccess| Skipped | Failed| Status Code| Remarks |
|--------------------|---------|-------|------------|------------------------------------------|
| 0 | 0 | 0 | 0 | Passed tests | | 0 | 0 | 1 | 1 | Failed tests | | 0 | 1 | 0 | 2 | Skipped tests
| | 0 | 1 | 1 | 3 | Skipped/Failed tests | | 1 | 0 | 0 | 4 | FailedWithinSuccess tests | | 1 | 0
| 1 | 5 | FailedWithinSuccess/Failed tests | | 1 | 1 | 0 | 6 | FailedWithinSuccess/Skipped tests
| | 1 | 1 | 1 | 7 | FailedWithinSuccess/Skipped/Failed tests |
|--------------------|---------|-------|------------|------------------------------------------|
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
static boolean
hasFailure
(int returnCode) boolean
static boolean
hasFailureWithinSuccessPercentage
(int returnCode) boolean
hasSkip()
static boolean
hasSkipped
(int returnCode) static ExitCode
-
Field Details
-
HAS_NO_TEST
public static final int HAS_NO_TEST- See Also:
-
SKIPPED
public static final int SKIPPED- See Also:
-
FAILED
public static final int FAILED- See Also:
-
-
Method Details
-
hasFailureWithinSuccessPercentage
public static boolean hasFailureWithinSuccessPercentage(int returnCode) -
hasSkipped
public static boolean hasSkipped(int returnCode) -
hasFailure
public static boolean hasFailure(int returnCode) -
newExitCodeRepresentingFailure
-
hasFailure
public boolean hasFailure() -
hasSkip
public boolean hasSkip() -
hasFailureWithinSuccessPercentage
public boolean hasFailureWithinSuccessPercentage() -
getExitCode
public int getExitCode()
-