|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
junit.extensions.abbot.ScriptFixture
Simple wrapper for a test script to run under JUnit. If the script does not contain a launch step, the hierarchy used will include existing components. No automatic cleanup of components is performed, since it is assumed that a Terminate step within the script will trigger that operation if it is required.
Constructor Summary | |
ScriptFixture(String filename)
Construct a test case with the given name, which must be the filename of the script to run. |
Method Summary | |
static void |
main(String[] args)
Assumes each argument is an Abbot script. |
void |
runBare()
Throw exceptions caught on the dispatch thread as errors. |
protected void |
runTest()
Override the default TestCase runTest method to invoke the script. |
protected void |
setUp()
|
protected void |
tearDown()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ScriptFixture(String filename)
Method Detail |
protected void setUp()
protected void tearDown()
public void runBare() throws Throwable
Throwable
protected void runTest() throws Throwable
Throwable
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |