org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable@Deprecated public class JMock extends org.junit.runners.BlockJUnit4ClassRunner
JUnitRuleMockeryRunner that asserts that all expectations have been met after
the test has finished and before the fixture is torn down.| Modifier and Type | Method | Description |
|---|---|---|
protected void |
assertMockeryIsSatisfied(Object test) |
Deprecated.
|
protected Object |
createTest() |
Deprecated.
|
protected Mockery |
mockeryOf(Object test) |
Deprecated.
|
protected org.junit.runners.model.Statement |
possiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next) |
Deprecated.
|
protected org.junit.runners.model.Statement |
verify(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next) |
Deprecated.
|
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic JMock(Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected Object createTest() throws Exception
createTest in class org.junit.runners.BlockJUnit4ClassRunnerException@Deprecated protected org.junit.runners.model.Statement possiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method, Object test, org.junit.runners.model.Statement next)
possiblyExpectingExceptions in class org.junit.runners.BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement verify(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next)
protected void assertMockeryIsSatisfied(Object test)
Copyright © 2003–2018 jMock. All rights reserved.