|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.runner.Runner org.junit.runners.ParentRunner<FrameworkMethod> org.junit.runners.BlockJUnit4ClassRunner org.jmock.integration.junit4.JMock
JUnitRuleMockery
@Deprecated public class JMock
A test Runner
that asserts that all expectations have been met after
the test has finished and before the fixture is torn down.
Constructor Summary | |
---|---|
JMock(Class<?> testClass)
Deprecated. |
Method Summary | |
---|---|
protected void |
assertMockeryIsSatisfied(Object test)
Deprecated. |
protected Object |
createTest()
Deprecated. |
protected Mockery |
mockeryOf(Object test)
Deprecated. |
protected Statement |
possiblyExpectingExceptions(FrameworkMethod method,
Object test,
Statement next)
Deprecated. |
protected Statement |
verify(FrameworkMethod method,
Object test,
Statement next)
Deprecated. |
Methods inherited from class org.junit.runners.ParentRunner |
---|
childrenInvoker, classBlock, classRules, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses |
Methods inherited from class org.junit.runner.Runner |
---|
testCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMock(Class<?> testClass) throws InitializationError
InitializationError
Method Detail |
---|
protected Object createTest() throws Exception
createTest
in class BlockJUnit4ClassRunner
Exception
@Deprecated protected Statement possiblyExpectingExceptions(FrameworkMethod method, Object test, Statement next)
possiblyExpectingExceptions
in class BlockJUnit4ClassRunner
protected Statement verify(FrameworkMethod method, Object test, Statement next)
protected void assertMockeryIsSatisfied(Object test)
protected Mockery mockeryOf(Object test)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |