|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.junit.runner.Runner
org.junit.internal.runners.JUnit4ClassRunner
org.jmock.integration.junit4.JMock
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)
|
Method Summary | |
---|---|
protected Mockery |
mockeryOf(Object test)
|
protected org.junit.internal.runners.TestMethod |
wrapMethod(Method method)
|
Methods inherited from class org.junit.internal.runners.JUnit4ClassRunner |
---|
classAnnotations, createTest, filter, getDescription, getName, getTestClass, getTestMethods, invokeTestMethod, methodDescription, run, runMethods, sort, testAnnotations, testName, validate |
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 org.junit.internal.runners.InitializationError
org.junit.internal.runners.InitializationError
Method Detail |
---|
protected org.junit.internal.runners.TestMethod wrapMethod(Method method)
wrapMethod
in class org.junit.internal.runners.JUnit4ClassRunner
protected Mockery mockeryOf(Object test)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |