|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.test.AutomatedTester
The AutomatedTester
is a class that is designed to be an in-program test facility. It is
capable of reading in test cases from files, extracting properties specified in those test cases, and then
creating a test case of the right form for the right system.
TestHarness
, which is capable of creating
instances of the TestCase
class that are collected by this framework.
TestHarness
,
TestCase
,
TestResult
Field Summary | |
static boolean |
LONG_REPORT
|
Constructor Summary | |
AutomatedTester()
|
Method Summary | |
void |
runTests(java.lang.String[] fnames)
The runTests() method runs the testing framework on each of the specified filenames. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean LONG_REPORT
Constructor Detail |
public AutomatedTester()
Method Detail |
public void runTests(java.lang.String[] fnames) throws java.io.IOException
runTests()
method runs the testing framework on each of the specified filenames. The
name of the target for the testcase is specified in the text of each file. The testing framework
extracts that name and passes that to the test harness which can create an instance of
TestCase
. Each test case is then run and the results are tabulated.
fnames
- an array of the filenames of tests to run
java.io.IOException
- if there is a problem loading the test cases
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |