|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sf.jameleon.unit.JameleonUnitTestCase
public abstract class JameleonUnitTestCase
A class to help with unit testing scripts and tags.
| Constructor Summary | |
|---|---|
JameleonUnitTestCase(String name)
|
|
| Method Summary | |
|---|---|
void |
beginTestCase(TestCaseEvent event)
Implementation of the TestCaseListener interface. |
void |
endTestCase(TestCaseEvent event)
Implementation of the TestCaseListener interface. |
TestCaseResult |
getTestCaseResult()
Gets the test case result of the script that was run from the runScript method |
TestCaseTag |
getTestCaseTag()
Gets the test case tag of the script that was run from the runScript method |
TestCaseResult |
runScript(File script)
|
TestCaseResult |
runScript(String script)
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JameleonUnitTestCase(String name)
| Method Detail |
|---|
public void beginTestCase(TestCaseEvent event)
beginTestCase in interface TestCaseListenerevent - The TestCaseEvent that spawned this event. The source of the event is the TestCaseTagpublic void endTestCase(TestCaseEvent event)
endTestCase in interface TestCaseListenerevent - The TestCaseEvent that spawned this event. The source of the event is the TestCaseTagpublic TestCaseResult runScript(String script)
public TestCaseResult runScript(File script)
public TestCaseResult getTestCaseResult()
runScript method
runScript methodpublic TestCaseTag getTestCaseTag()
runScript method
runScript method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||