|
|
| TestProtocol.java |
private int numberOfTests;
private int numberOfPassedTests;
private String protocol;
/**
* Create a test protocol.
*/
public TestProtocol() {
numberOfTests = 0;
numberOfPassedTests = 0;
protocol = "";
}
|
![]() | We maintain two counters with the total number of tests
performed so far (numberOfTests), and the number of
successful tests (numberOfPassedTests).
|
![]() | All test results will be appended to protocol which
can be later retrieved by the toString() method.
|
|
| Copyright © 2001, 2002 Andreas Borchert, converted to HTML on February 11, 2002 |