|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.jmock.AbstractMockingTestCase
ComponentManagerRule instead
@Deprecated public abstract class AbstractMockingTestCase
Offers ability to mock Components easily.
| Field Summary | |
|---|---|
JMockRule |
mockery
Deprecated. Automatically verify JMock expectations. |
| Constructor Summary | |
|---|---|
AbstractMockingTestCase()
Deprecated. |
|
| Method Summary | ||
|---|---|---|
abstract MockingComponentManager |
getComponentManager()
Deprecated. |
|
org.jmock.Mockery |
getMockery()
Deprecated. |
|
|
registerMockComponent(Class<T> role)
Deprecated. |
|
|
registerMockComponent(Class<T> role,
String hint)
Deprecated. |
|
|
registerMockComponent(Class<T> role,
String hint,
String mockId)
Deprecated. |
|
|
registerMockComponent(Type role)
Deprecated. |
|
|
registerMockComponent(Type role,
String hint)
Deprecated. |
|
|
registerMockComponent(Type role,
String hint,
String mockId)
Deprecated. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final JMockRule mockery
| Constructor Detail |
|---|
public AbstractMockingTestCase()
| Method Detail |
|---|
public org.jmock.Mockery getMockery()
public abstract MockingComponentManager getComponentManager()
throws Exception
Exception
public <T> T registerMockComponent(Class<T> role,
String hint,
String mockId)
throws Exception
Exception
public <T> T registerMockComponent(Type role,
String hint,
String mockId)
throws Exception
Exception
public <T> T registerMockComponent(Class<T> role,
String hint)
throws Exception
Exception
public <T> T registerMockComponent(Type role,
String hint)
throws Exception
Exception
public <T> T registerMockComponent(Class<T> role)
throws Exception
Exception
public <T> T registerMockComponent(Type role)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||