Package org.jmock.integration.junit3
Class VerifyingTestCase
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.jmock.integration.junit3.VerifyingTestCase
-
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
MockObjectTestCase
public abstract class VerifyingTestCase extends junit.framework.TestCase
ATestCase
that verifies postconditions after the test has run and before the fixture has been torn down.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description VerifyingTestCase()
VerifyingTestCase(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
VerifyingTestCase
public VerifyingTestCase()
-
VerifyingTestCase
public VerifyingTestCase(String name)
-
-