|
|||||||||
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 org.jmock.integration.junit3.VerifyingTestCase
public abstract class VerifyingTestCase
A TestCase
that verifies postconditions after the
test has run and before the fixture has been torn down.
Constructor Summary | |
---|---|
VerifyingTestCase()
|
|
VerifyingTestCase(String name)
|
Method Summary | |
---|---|
void |
addVerifier(Runnable verifier)
|
void |
runBare()
|
void |
verify()
|
Methods inherited from class junit.framework.TestCase |
---|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, setUp, tearDown, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VerifyingTestCase()
public VerifyingTestCase(String name)
Method Detail |
---|
public void runBare() throws Throwable
runBare
in class junit.framework.TestCase
Throwable
public void verify()
public void addVerifier(Runnable verifier)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |