A B C G I M O R S T X 

A

AbstractComponentTestCase - Class in org.xwiki.test.jmock
Deprecated.
starting with 4.3.1 use ComponentManagerRule instead
AbstractComponentTestCase() - Constructor for class org.xwiki.test.jmock.AbstractComponentTestCase
Deprecated.
 
AbstractMockingComponentTestCase<T> - Class in org.xwiki.test.jmock
Deprecated.
starting with 4.3.1 use MockitoComponentMockingRule instead
AbstractMockingComponentTestCase() - Constructor for class org.xwiki.test.jmock.AbstractMockingComponentTestCase
Deprecated.
 
AbstractMockingTestCase - Class in org.xwiki.test.jmock
Deprecated.
starting with 4.3.1 use ComponentManagerRule instead
AbstractMockingTestCase() - Constructor for class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
after(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.ComponentManagerRule
Called after the test.
AfterComponent - Annotation Type in org.xwiki.test.annotation
Calls methods annotated with this annotation right after configured components are registered by TestComponentManager.
AllComponents - Annotation Type in org.xwiki.test.annotation
All components are to be registered.
apply(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.ComponentManagerRule
 
apply(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.mockito.MockitoComponentMockingRule
 

B

before(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.ComponentManagerRule
Called before the test.
before(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.mockito.MockitoComponentMockingRule
Called before the test.
BeforeComponent - Annotation Type in org.xwiki.test.annotation
Calls methods annotated with this annotation before Component registration in ComponentManagerRule.

C

ComponentList - Annotation Type in org.xwiki.test.annotation
Defines the list of components to register.
ComponentManagerRule - Class in org.xwiki.test
A JUnit MethodRule to initialize a TestComponentManager.
ComponentManagerRule() - Constructor for class org.xwiki.test.ComponentManagerRule
 
componentRegistrator - Variable in class org.xwiki.test.TestComponentManager
Used to register components.
createLogger(Class<?>) - Method in class org.xwiki.test.mockito.MockitoComponentMockingRule
Overrides EmbeddableComponentManager in order to mock Loggers since they're handled specially and are not components.

G

getComponentManager() - Method in class org.xwiki.test.jmock.AbstractComponentTestCase
Deprecated.
 
getComponentManager() - Method in class org.xwiki.test.jmock.AbstractMockingComponentTestCase
Deprecated.
 
getComponentManager() - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
getComponentManager() - Method in class org.xwiki.test.jmock.XWikiComponentInitializer
Deprecated.
 
getComponentUnderTest() - Method in class org.xwiki.test.mockito.MockitoComponentMockingRule
 
getConfigurationSource() - Method in class org.xwiki.test.jmock.AbstractComponentTestCase
Deprecated.
 
getConfigurationSource() - Method in class org.xwiki.test.jmock.XWikiComponentInitializer
Deprecated.
 
getMockedComponent() - Method in class org.xwiki.test.jmock.AbstractMockingComponentTestCase
Deprecated.
 
getMockedComponent(Class) - Method in class org.xwiki.test.jmock.AbstractMockingComponentTestCase
Deprecated.
 
getMockedLogger() - Method in class org.xwiki.test.mockito.MockitoComponentMockingRule
 
getMockery() - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
getMockLogger(Class<?>) - Method in class org.xwiki.test.jmock.AbstractMockingComponentTestCase
Deprecated.
 
getMockLogger() - Method in class org.xwiki.test.jmock.AbstractMockingComponentTestCase
Deprecated.
 

I

initializeConfigurationSource() - Method in class org.xwiki.test.jmock.XWikiComponentInitializer
Deprecated.
 
initializeExecution() - Method in class org.xwiki.test.jmock.XWikiComponentInitializer
Deprecated.
 
initializeTest(Object) - Method in class org.xwiki.test.TestComponentManager
Initialize the test component manager by registering components based on the presence of AllComponents and ComponentList annotations.

M

mockery - Variable in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
Automatically verify JMock expectations.
MockingComponentManager - Class in org.xwiki.test.jmock
Deprecated.
starting with 4.3.1 use MockitoComponentManagerRule instead
MockingComponentManager() - Constructor for class org.xwiki.test.jmock.MockingComponentManager
Deprecated.
 
MockingRequirement - Annotation Type in org.xwiki.test.jmock.annotation
Deprecated.
starting with 4.3.1 use MockitoComponentMockingRule instead
MockingRequirements - Annotation Type in org.xwiki.test.jmock.annotation
Deprecated.
starting with 4.3.1 use MockitoComponentMockingRule instead
MockitoComponentManager - Class in org.xwiki.test.mockito
Helper class to make it extra simple to register Mock Components using Mockito.
MockitoComponentManager() - Constructor for class org.xwiki.test.mockito.MockitoComponentManager
 
MockitoComponentManagerRule - Class in org.xwiki.test.mockito
JUnit MethodRule to make it extra simple to register Mock Components using Mockito.
MockitoComponentManagerRule() - Constructor for class org.xwiki.test.mockito.MockitoComponentManagerRule
 
MockitoComponentMockingRule<T> - Class in org.xwiki.test.mockito
Unit tests for Components should extend this class instead of using MockitoComponentManagerRule or ComponentManagerRule which should only be used for integration tests.
MockitoComponentMockingRule(Class<? extends T>) - Constructor for class org.xwiki.test.mockito.MockitoComponentMockingRule
 
MockitoComponentMockingRule(Class<? extends T>, List<? extends Class<?>>) - Constructor for class org.xwiki.test.mockito.MockitoComponentMockingRule
 
MockitoComponentMockingRule(Class<? extends T>, Type, String, List<? extends Class<?>>) - Constructor for class org.xwiki.test.mockito.MockitoComponentMockingRule
 
MockitoComponentMockingRule(Class<? extends T>, Type, List<? extends Class<?>>) - Constructor for class org.xwiki.test.mockito.MockitoComponentMockingRule
 
MockitoComponentMockingRule(Class<? extends T>, Type, String) - Constructor for class org.xwiki.test.mockito.MockitoComponentMockingRule
 
MockitoComponentMockingRule(Class<? extends T>, Type) - Constructor for class org.xwiki.test.mockito.MockitoComponentMockingRule
 

O

org.xwiki.test - package org.xwiki.test
 
org.xwiki.test.annotation - package org.xwiki.test.annotation
 
org.xwiki.test.jmock - package org.xwiki.test.jmock
 
org.xwiki.test.jmock.annotation - package org.xwiki.test.jmock.annotation
 
org.xwiki.test.mockito - package org.xwiki.test.mockito
 

R

registerComponent(Class<?>) - Method in class org.xwiki.test.jmock.AbstractComponentTestCase
Deprecated.
 
registerComponent(Type, String, Object) - Method in class org.xwiki.test.TestComponentManager
Registers a component.
registerComponent(Type, Object) - Method in class org.xwiki.test.TestComponentManager
Registers a component (with a default role hint).
registerComponent(Class<?>) - Method in class org.xwiki.test.TestComponentManager
Register components associated to the provided class.
registerComponents() - Method in class org.xwiki.test.jmock.AbstractComponentTestCase
Deprecated.
Register custom/mock components
registerMemoryConfigurationSource() - Method in class org.xwiki.test.TestComponentManager
Register in-memory data source for the default and "xwikiproperties" configuration sources.
registerMockComponent(Class<T>, String, String) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
registerMockComponent(Type, String, String) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
registerMockComponent(Class<T>, String) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
registerMockComponent(Type, String) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
registerMockComponent(Class<T>) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
registerMockComponent(Type) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
Deprecated.
 
registerMockComponent(Mockery, Type, String, String) - Method in class org.xwiki.test.jmock.MockingComponentManager
Deprecated.
Register a mock component.
registerMockComponent(Mockery, Type, String) - Method in class org.xwiki.test.jmock.MockingComponentManager
Deprecated.
Register a mock component.
registerMockComponent(Mockery, Type) - Method in class org.xwiki.test.jmock.MockingComponentManager
Deprecated.
Register a mock component.
registerMockComponent(Type, String) - Method in class org.xwiki.test.mockito.MockitoComponentManager
Registers a Mock component.
registerMockComponent(Type) - Method in class org.xwiki.test.mockito.MockitoComponentManager
Registers a Mock component (using the default role hint).
registerMockComponent(Type, String) - Method in class org.xwiki.test.mockito.MockitoComponentManagerRule
Registers a Mock component.
registerMockComponent(Type) - Method in class org.xwiki.test.mockito.MockitoComponentManagerRule
Registers a Mock component (using the default role hint).
registerMockComponentWithId(Mockery, Type, String) - Method in class org.xwiki.test.jmock.MockingComponentManager
Deprecated.
Register a mock component.

S

setUp() - Method in class org.xwiki.test.jmock.AbstractComponentTestCase
Deprecated.
Tests that require fine-grained initializations can override this method and not call super.
setUp() - Method in class org.xwiki.test.jmock.AbstractMockingComponentTestCase
Deprecated.
 
shutdown() - Method in class org.xwiki.test.jmock.XWikiComponentInitializer
Deprecated.
 
shutdownTest() - Method in class org.xwiki.test.TestComponentManager
Cleans up the test component manager by disposing components registered in it.

T

tearDown() - Method in class org.xwiki.test.jmock.AbstractComponentTestCase
Deprecated.
Clean up test states.
TestComponentManager - Class in org.xwiki.test
Initialize a Component Manager and uses the AllComponents and ComponentList annotations to decide what components to discover and register.
TestComponentManager() - Constructor for class org.xwiki.test.TestComponentManager
 

X

XWikiComponentInitializer - Class in org.xwiki.test.jmock
Deprecated.
starting with 4.3.1 use ComponentManagerRule instead
XWikiComponentInitializer() - Constructor for class org.xwiki.test.jmock.XWikiComponentInitializer
Deprecated.
 
A B C G I M O R S T X 

Copyright © 2004–2016 XWiki. All rights reserved.