|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmock.Mockery
org.jmock.integration.junit4.JUnit4Mockery
org.jmock.integration.junit4.JUnitRuleMockery
org.xwiki.test.jmock.JMockRule
public class JMockRule
Extends the JMock Rule for setting up JMock and configures it for Thread safety.
| Constructor Summary | |
|---|---|
JMockRule()
|
|
| Method Summary | |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target)
|
| Methods inherited from class org.jmock.Mockery |
|---|
addExpectation, assertIsSatisfied, checking, describeTo, mock, mock, sequence, setDefaultResultForType, setExpectationErrorTranslator, setImposteriser, setNamingScheme, setThreadingPolicy, states |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMockRule()
| Method Detail |
|---|
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target)
apply in interface org.junit.rules.MethodRuleapply in class org.jmock.integration.junit4.JUnitRuleMockery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||