|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.test.AbstractMockingTestCase
org.xwiki.test.AbstractComponentTestCase
org.xwiki.cache.tests.AbstractTestCache
public abstract class AbstractTestCache
Base class for testing cache component implementation.
| Field Summary | |
|---|---|
protected static String |
KEY
The first key. |
protected static String |
KEY2
The second key. |
protected String |
roleHint
The role hint of the cache component implementation to test. |
protected static String |
VALUE
The value of the first key. |
protected static int |
VALUE2
The value of the second key. |
| Constructor Summary | |
|---|---|
protected |
AbstractTestCache(String roleHint)
|
| Method Summary | |
|---|---|
CacheFactory |
getCacheFactory()
|
protected void |
registerComponents()
|
| Methods inherited from class org.xwiki.test.AbstractComponentTestCase |
|---|
getComponentManager, getConfigurationSource, registerComponent, setUp, tearDown |
| Methods inherited from class org.xwiki.test.AbstractMockingTestCase |
|---|
getMockery, registerMockComponent, registerMockComponent, registerMockComponent, registerMockComponent, registerMockComponent, registerMockComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String KEY
protected static final String KEY2
protected static final String VALUE
protected static final int VALUE2
protected String roleHint
| Constructor Detail |
|---|
protected AbstractTestCache(String roleHint)
roleHint - the role hint of the cache component implementation to test.| Method Detail |
|---|
protected void registerComponents()
throws Exception
registerComponents in class org.xwiki.test.AbstractComponentTestCaseException
public CacheFactory getCacheFactory()
throws Exception
Exception - error when searching for cache factory component.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||