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

Method Index

 o ok(int)
Register that a particular test executed successfully, and output a success or failure message.
 o ok(int, boolean)
Register the result of a test, and output a success or failure message.
 o summary()
Print a summary of test results.

Methods

 o 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
 o 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
 o summary
 public static void summary()
Print a summary of test results.


All Packages  Class Hierarchy  This Package  Previous  Next  Index