finish

finish(elapsedTime:    Time;
       testsFailed:    Integer;
       testsSkipped:   Integer;
       testsSucceeded: Integer);

When unit tests are run, all of the test methods for each class in a collection of JadeTestCase subclasses are executed.

The finish event occurs just once, at the conclusion of the unit test run. The finish callback method is then invoked for the test listener object, if it exists.

The parameters for the finish method are listed in the following table.

Parameter Contains the…
elapsedTime Time to run all the test methods
testsFailed Number of test methods that failed
testsSkipped Number of test methods that were skipped
testsSucceeded Number of test methods that succeeded

For details about running unit tests, see "Using the JADE Testing Framework", in Chapter 17 of the JADE Developer’s Reference.