org.jmock.core
Class VerifyingTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jmock.core.VerifyingTestCase
- All Implemented Interfaces:
- Test
- Direct Known Subclasses:
- MockObjectSupportTestCase
public abstract class VerifyingTestCase
- extends TestCase
A TestCase
that verifies Verifiable
fields and registered Verifiable objects after the test has run and before the fixture
has been torn down.
- Since:
- 1.0
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 |
VerifyingTestCase
public VerifyingTestCase()
VerifyingTestCase
public VerifyingTestCase(String name)
runBare
public void runBare()
throws Throwable
- Overrides:
runBare
in class TestCase
- Throws:
Throwable
registerToVerify
public void registerToVerify(Verifiable verifiable)
unregisterToVerify
public void unregisterToVerify(Verifiable verifiable)
verify
public void verify()