|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.jdc.util.JTest
JTest is a utility class to print the results of unit tests for other
API classes to the system console. This class is instantiated in the
main(String[]) method of API classes only.
| Constructor Summary | |
JTest()
Constructs a new JTest object. |
|
| Method Summary | |
void |
printHeader(String text)
Prints the unit test result text header description. |
void |
printResult(String text)
Prints the unit test result text. |
void |
printResult(String text1,
boolean bool2)
Prints the unit test result text description and boolean value. |
void |
printResult(String text1,
int int2)
Prints the unit test result text description and integer value. |
void |
printResult(String text1,
String text2)
Prints the unit test result text description and value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JTest()
JTest object.
| Method Detail |
public void printResult(String text)
public void printResult(String text1,
String text2)
public void printResult(String text1,
boolean bool2)
public void printResult(String text1,
int int2)
public void printHeader(String text)
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||