Class JMock
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.jmock.integration.junit4.JMock
- All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable
Deprecated.
A test
Runner that asserts that all expectations have been met after
the test has finished and before the fixture is torn down.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeprecated.protected ObjectDeprecated.(package private) static FieldfindMockeryField(Class<?> testClass) Deprecated.protected MockeryDeprecated.protected org.junit.runners.model.StatementpossiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method, Object test, org.junit.runners.model.Statement next) Deprecated.protected org.junit.runners.model.Statementverify(org.junit.runners.model.FrameworkMethod method, Object test, org.junit.runners.model.Statement next) Deprecated.Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutMethods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolationMethods inherited from class org.junit.runner.Runner
testCount
-
Field Details
-
mockeryField
Deprecated.
-
-
Constructor Details
-
JMock
Deprecated.- Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
createTest
-
possiblyExpectingExceptions
@Deprecated protected org.junit.runners.model.Statement possiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method, Object test, org.junit.runners.model.Statement next) Deprecated.- Overrides:
possiblyExpectingExceptionsin classorg.junit.runners.BlockJUnit4ClassRunner
-
verify
protected org.junit.runners.model.Statement verify(org.junit.runners.model.FrameworkMethod method, Object test, org.junit.runners.model.Statement next) Deprecated. -
assertMockeryIsSatisfied
Deprecated. -
mockeryOf
-
findMockeryField
-
JUnitRuleMockery