All Packages Class Hierarchy This Package Previous Next Index
Class au.com.pharos.test.Test
au.com.pharos.test.Test
- public class Test
Utilities for automated testing. This class contains only static
functions and should not be instantiated.
- Version:
- $Revision: 1.7 $ $Date: 1998-01-08 15:01:54+10 $
- Author:
- Martin Pool
-
ok(int)
- Register that a particular test executed successfully, and
output a success or failure message.
-
ok(int, boolean)
- Register the result of a test, and output a success or failure
message.
-
summary()
- Print a summary of test results.
ok
public static void ok(int no)
- Register that a particular test executed successfully, and
output a success or failure message.
- Parameters:
- number - test sequence number
ok
public static void ok(int number,
boolean passed)
- Register the result of a test, and output a success or failure
message.
- Parameters:
- number - test sequence number
- result - whether the test was successful or not
summary
public static void summary()
- Print a summary of test results.
All Packages Class Hierarchy This Package Previous Next Index