2004.04.29


com.jdc.util
Class JTest

java.lang.Object
  |
  +--com.jdc.util.JTest

public class JTest
extends Object

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.

This class is unsupported and should not be used.

Version:
1.0
Author:
Jay Damon

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

JTest

public JTest()
Constructs a new JTest object.

Method Detail

printResult

public void printResult(String text)
Prints the unit test result text.


printResult

public void printResult(String text1,
                        String text2)
Prints the unit test result text description and value.


printResult

public void printResult(String text1,
                        boolean bool2)
Prints the unit test result text description and boolean value.


printResult

public void printResult(String text1,
                        int int2)
Prints the unit test result text description and integer value.


printHeader

public void printHeader(String text)
Prints the unit test result text header description.


2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.