|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.unitils.UnitilsJUnit3
org.unitils.UnitilsJUnit3TestBase
public abstract class UnitilsJUnit3TestBase
Base class for the JUnit3 test listener tests.
| Constructor Summary | |
|---|---|
UnitilsJUnit3TestBase()
|
|
| Method Summary | |
|---|---|
protected void |
registerTestInvocation(TracingTestListener.TestInvocation invocation,
String testMethod)
Records an invocation. |
static void |
setTracingTestListener(TracingTestListener testListener)
Sets the tracing test listener that will record all invocations. |
protected void |
setUp()
Overidden to register the test setup invocation. |
protected void |
tearDown()
Overidden to register the test teardown invocation. |
| Methods inherited from class org.unitils.UnitilsJUnit3 |
|---|
getCurrentTestMethod, getTestListener, getUnitils, runBare, runTest |
| 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnitilsJUnit3TestBase()
| Method Detail |
|---|
public static void setTracingTestListener(TracingTestListener testListener)
testListener - the listener
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseException
protected void registerTestInvocation(TracingTestListener.TestInvocation invocation,
String testMethod)
invocation - the invocation type, not nulltestMethod - The called method, not null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||