|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.resilientedge.util.test.Tester
This class is a base class for Tester classes that run test cases defined in an ASCII file.
Constructor Summary | |
Tester()
|
Method Summary | |
protected static void |
addClass(java.lang.String className)
Adds a feature to the Class attribute of the Tester class |
protected static void |
addClassToGroup(java.lang.Class aClass,
junit.framework.TestSuite group)
See if the class arg has a static group() method. |
protected static java.util.Vector |
getClasses()
Gets the Classes attribute of the Tester class |
protected static int |
getCount()
Gets the Count attribute of the Tester class |
static junit.framework.Test |
group()
Method Description |
protected static void |
readFile(java.lang.String fileName)
Method Description |
static void |
runGroup()
Method Description |
protected static void |
setCount(int count)
Sets the Count attribute of the Tester class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Tester()
Method Detail |
public static void runGroup()
public static junit.framework.Test group()
protected static void setCount(int count)
count
- The new Count valueprotected static int getCount()
protected static java.util.Vector getClasses()
protected static void addClassToGroup(java.lang.Class aClass, junit.framework.TestSuite group)
aClass
- the class to add to the groupgroup
- the (global) test group to contain the new test(s)protected static void readFile(java.lang.String fileName) throws java.lang.Exception
fileName
- Parameter Descriptionjava.lang.Exception
- Exception Descriptionprotected static void addClass(java.lang.String className)
className
- The feature to be added to the Class attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |