|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
avignon.ScriptedTests
junit.framework.TestCase that runs Avignon scripts through JUnit.
| Constructor Summary | |
ScriptedTests(java.lang.String name)
Constructor that JUnit uses to run a particular test script. |
|
| Method Summary | |
boolean |
equals(java.lang.Object value)
Determines if this test instance is "equal" to something else. |
void |
executeTestScript()
Executes the script that the class was constructed with. |
java.lang.String |
getName()
Determines the name of the test represented by this instance. |
AvignonTestState |
getState()
Used to determine the AvignonTestState being used to run the test associated with this instance. |
protected ScriptProcessor |
newScriptProcessor(AvignonTestState state)
Factory method for making new ScriptProcessors to use during testing. |
static junit.framework.Test |
suite()
Standard JUnit suite method. |
java.lang.String |
toString()
Represents the test as a string. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, run, run, runBare, runTest, setName, setUp, tearDown |
| 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ScriptedTests(java.lang.String name)
name - File name of the script to be executed relative to the ScriptRoot property.| Method Detail |
public java.lang.String toString()
public java.lang.String getName()
public static junit.framework.Test suite()
public boolean equals(java.lang.Object value)
value - The object to compare against.
public void executeTestScript()
protected ScriptProcessor newScriptProcessor(AvignonTestState state)
state - The AvignonTestState to use during test execution.
public AvignonTestState getState()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||