Class ExitCode


  • public class ExitCode
    extends java.lang.Object
    |--------------------|---------|-------|------------|------------------------------------------| | 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 | |--------------------|---------|-------|------------|------------------------------------------|
    • Method Detail

      • hasFailureWithinSuccessPercentage

        public static boolean hasFailureWithinSuccessPercentage​(int returnCode)
      • hasSkipped

        public static boolean hasSkipped​(int returnCode)
      • hasFailure

        public static boolean hasFailure​(int returnCode)
      • newExitCodeRepresentingFailure

        public static ExitCode newExitCodeRepresentingFailure()
      • hasFailure

        public boolean hasFailure()
      • hasSkip

        public boolean hasSkip()
      • hasFailureWithinSuccessPercentage

        public boolean hasFailureWithinSuccessPercentage()
      • getExitCode

        public int getExitCode()