Catches TestFailedExceptions or JUnitTestFailedErrors thrown by the test condition and stores them so they can be reported later by a call to reportAll().
If any failures were caught by checkpoints, throws an Exception containing the error messages and line numbers from each of the failed checkpoints.
Class to allow multiple failure conditions within a test to be collected prior to failure being reported.
E.g.:
If checkpoints aren't used, as soon as a failure happens, a TestFailedException is thrown and the rest of the test is not executed. So if a equaled 3 in the above example, the TFE would be thrown as of the first assertion, and the user wouldn't know anything about b or c. By using the checkpoint, if c is also 3, the user will find out that both 3 was not greater than 9, with a pointer to the line number of the first assertion, and 3 was not greater than 10, with a pointer to the line number of the third assertion.