|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--com.objectwave.test.TestImpl
Hide the details of the JUnit test framework. This level of indirection will allow the development of and integration with new test frameworks without changing the system under test.
Constructor Summary | |
TestImpl(java.lang.String str)
|
Method Summary | |
protected void |
runTest()
Override the junit implementation to delegate to my implementation. |
void |
setUnitTest(UnitTest test)
|
protected void |
setUp()
|
protected void |
tearDown()
|
java.lang.String |
toString()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, setName |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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 TestImpl(java.lang.String str)
str
- Method Detail |
public void setUnitTest(UnitTest test)
test
- The new UnitTest valuepublic java.lang.String toString()
toString
in class junit.framework.TestCase
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void runTest() throws java.lang.Throwable
runTest
in class junit.framework.TestCase
java.lang.Throwable
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |