A C G I M O R S T X

A

AbstractComponentTestCase - Class in org.xwiki.test
Tests which needs to have XWiki Components set up should extend this class which makes the Component Manager available.
AbstractComponentTestCase() - Constructor for class org.xwiki.test.AbstractComponentTestCase
 
AbstractMockingComponentTestCase - Class in org.xwiki.test
Unit tests for Components should extend this class instead of the older AbstractComponentTestCase test class.
AbstractMockingComponentTestCase() - Constructor for class org.xwiki.test.AbstractMockingComponentTestCase
 
AbstractMockingTestCase - Class in org.xwiki.test
Offers a JMock 2.x Mockery object.
AbstractMockingTestCase() - Constructor for class org.xwiki.test.AbstractMockingTestCase
 

C

configure() - Method in class org.xwiki.test.AbstractMockingComponentTestCase
Provides a hook so that users of this class can perform configuration before the component is looked up.

G

getComponentManager() - Method in class org.xwiki.test.AbstractComponentTestCase
 
getComponentManager() - Method in class org.xwiki.test.AbstractMockingComponentTestCase
 
getComponentManager() - Method in class org.xwiki.test.AbstractMockingTestCase
 
getComponentManager() - Method in class org.xwiki.test.XWikiComponentInitializer
 
getConfigurationSource() - Method in class org.xwiki.test.AbstractComponentTestCase
 
getConfigurationSource() - Method in class org.xwiki.test.XWikiComponentInitializer
 
getDescriptor(String) - Static method in class org.xwiki.test.MockConfigurationSource
 
getMockery() - Method in class org.xwiki.test.AbstractMockingTestCase
 
getMockLogger(Class<?>) - Method in class org.xwiki.test.AbstractMockingComponentTestCase
 
getMockLogger() - Method in class org.xwiki.test.AbstractMockingComponentTestCase
 

I

initializeConfigurationSource() - Method in class org.xwiki.test.XWikiComponentInitializer
 
initializeExecution() - Method in class org.xwiki.test.XWikiComponentInitializer
 

M

MockConfigurationSource - Class in org.xwiki.test
Mock ConfigurationSource that returns an empty list of configuration sources.
MockConfigurationSource() - Constructor for class org.xwiki.test.MockConfigurationSource
 
MockingRequirement - Annotation Type in org.xwiki.test.annotation
Defines a field that needs to be injected with a mocked component.

O

org.xwiki.test - package org.xwiki.test
 
org.xwiki.test.annotation - package org.xwiki.test.annotation
 

R

registerComponent(Class<?>) - Method in class org.xwiki.test.AbstractComponentTestCase
 
registerComponents() - Method in class org.xwiki.test.AbstractComponentTestCase
Register custom/mock components
registerMockComponent(Class<T>, String, String) - Method in class org.xwiki.test.AbstractMockingTestCase
 
registerMockComponent(Type, String, String) - Method in class org.xwiki.test.AbstractMockingTestCase
 
registerMockComponent(Class<T>, String) - Method in class org.xwiki.test.AbstractMockingTestCase
 
registerMockComponent(Type, String) - Method in class org.xwiki.test.AbstractMockingTestCase
 
registerMockComponent(Class<T>) - Method in class org.xwiki.test.AbstractMockingTestCase
 
registerMockComponent(Type) - Method in class org.xwiki.test.AbstractMockingTestCase
 

S

setUp() - Method in class org.xwiki.test.AbstractComponentTestCase
Tests that require fine-grained initializations can override this method and not call super.
setUp() - Method in class org.xwiki.test.AbstractMockingComponentTestCase
 
shutdown() - Method in class org.xwiki.test.XWikiComponentInitializer
 

T

tearDown() - Method in class org.xwiki.test.AbstractComponentTestCase
Clean up test states.

X

XWikiComponentInitializer - Class in org.xwiki.test
Initialize a component manager used in unit tests.
XWikiComponentInitializer() - Constructor for class org.xwiki.test.XWikiComponentInitializer
 

A C G I M O R S T X

Copyright © 2004-2012 XWiki. All Rights Reserved.