Skip navigation links
A B C G I L M N O P 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.
after(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.mockito.MockitoComponentManagerRule
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.
afterEach(ExtensionContext) - Method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
 
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.MockitoComponentManagerRule
 
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.MockitoComponentManagerRule
Called before the test.
before(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.mockito.MockitoComponentMockingRule
Called before the test.
beforeAll(ExtensionContext) - Method in class org.xwiki.test.junit5.XWikiTempDirExtension
 
BeforeComponent - Annotation Type in org.xwiki.test.annotation
Calls methods annotated with this annotation before Component registration in ComponentManagerRule.
beforeEach(ExtensionContext) - Method in class org.xwiki.test.junit5.XWikiTempDirExtension
 

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.
ComponentTest - Annotation Type in org.xwiki.test.junit5.mockito
Marks a test as being a Component Test.
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

getComponentImplementationClass() - Method in class org.xwiki.test.mockito.MockitoComponentMocker
 
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.
 
getExcludedComponentRoleDependencies() - Method in class org.xwiki.test.mockito.MockitoComponentMocker
 
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.
 
initializeMockitoComponentManager(Object, MockitoComponentManager, ExtensionContext) - Method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
To be overridden by extensions if they need to perform additional initializations.
initializeTest(Object, 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.
InjectComponentManager - Annotation Type in org.xwiki.test.junit5.mockito
Marks a field as needed to be injected with the Component Manager used by the test.
InjectMockComponents - Annotation Type in org.xwiki.test.junit5.mockito
Marks a field as needed to be injected with components and mock components.

L

loadComponentManager(ExtensionContext) - Method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
 

M

MockComponent - Annotation Type in org.xwiki.test.junit5.mockito
Marks a field as being a Mock component.
mockComponent(Object) - Method in class org.xwiki.test.mockito.MockitoComponentMocker
Mock the injected components for the specified component implementation.
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
 
MockitoComponentManagerExtension - Class in org.xwiki.test.junit5.mockito
JUnit5 extension to help write unit tests for XWiki Components.
MockitoComponentManagerExtension() - Constructor for class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
 
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
 
MockitoComponentMocker<T> - Class in org.xwiki.test.mockito
MockitoComponentMocker(MockitoComponentManager, Class<? extends T>) - Constructor for class org.xwiki.test.mockito.MockitoComponentMocker
 
MockitoComponentMocker(MockitoComponentManager, Class<? extends T>, Type) - Constructor for class org.xwiki.test.mockito.MockitoComponentMocker
 
MockitoComponentMocker(MockitoComponentManager, Class<?>, Type, String) - Constructor for class org.xwiki.test.mockito.MockitoComponentMocker
 
MockitoComponentMocker(MockitoComponentManager, Class<?>, Type, String, List<? extends Class<?>>) - Constructor for class org.xwiki.test.mockito.MockitoComponentMocker
 
MockitoComponentMocker(MockitoComponentManager, Class<? extends T>, List<? extends Class<?>>) - Constructor for class org.xwiki.test.mockito.MockitoComponentMocker
 
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
 

N

notifyComponentDescriptorEvent() - Method in class org.xwiki.test.TestComponentManager
Enabled notification of component descriptor registration/unregistration.

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.junit5 - package org.xwiki.test.junit5
 
org.xwiki.test.junit5.mockito - package org.xwiki.test.junit5.mockito
 
org.xwiki.test.mockito - package org.xwiki.test.mockito
 

P

postProcessTestInstance(Object, ExtensionContext) - Method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
 
processInjectMockComponents(Object, Field, InjectMockComponents, MockitoComponentManager) - Method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
 

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.
registerComponentIfDontExist(Class<?>) - Method in class org.xwiki.test.TestComponentManager
Register components associated to the provided class if there is not already one.
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, String, boolean) - 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, boolean) - Method in class org.xwiki.test.mockito.MockitoComponentManager
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.
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.xwiki.test.junit5.XWikiTempDirExtension
 

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.
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.xwiki.test.junit5.XWikiTempDirExtension
 

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.
 
XWikiTempDir - Annotation Type in org.xwiki.test.junit5
Annotation to indicate that a temporary directory should be injected, see XWikiTempDirExtension.
XWikiTempDirExtension - Class in org.xwiki.test.junit5
Allows injecting a temporary directory created inside the Maven target directory, in a similar way as it's done by the default @XWikiTemp JUnit5 extension.
XWikiTempDirExtension() - Constructor for class org.xwiki.test.junit5.XWikiTempDirExtension
 
A B C G I L M N O P R S T X 
Skip navigation links

Copyright © 2004–2019 XWiki. All rights reserved.