A B C E G H I L M N O P R S T V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractComponentTestCase - Class in org.xwiki.test.jmock
-
Deprecated.use
ComponentTest
instead - AbstractComponentTestCase() - Constructor for class org.xwiki.test.jmock.AbstractComponentTestCase
-
Deprecated.
- AbstractMockingComponentTestCase<T> - Class in org.xwiki.test.jmock
-
Deprecated.use
ComponentTest
instead - AbstractMockingComponentTestCase() - Constructor for class org.xwiki.test.jmock.AbstractMockingComponentTestCase
-
Deprecated.
- AbstractMockingTestCase - Class in org.xwiki.test.jmock
-
Deprecated.use
ComponentTest
instead - AbstractMockingTestCase() - Constructor for class org.xwiki.test.jmock.AbstractMockingTestCase
-
Deprecated.
- after(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.ComponentManagerRule
-
Deprecated.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
-
Deprecated.
- 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
-
Deprecated.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.mockito.MockitoComponentManagerExtension
- beforeEach(ExtensionContext) - Method in class org.xwiki.test.junit5.XWikiTempDirExtension
C
- classToMock() - Method in annotation type org.xwiki.test.junit5.mockito.MockComponent
-
The class to mock for this component.
- ComponentList - Annotation Type in org.xwiki.test.annotation
-
Defines the list of components to register.
- ComponentManagerRule - Class in org.xwiki.test
-
Deprecated.use
ComponentTest
instead - ComponentManagerRule() - Constructor for class org.xwiki.test.ComponentManagerRule
-
Deprecated.
- 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.
E
- exceptions() - Method in annotation type org.xwiki.test.jmock.annotation.MockingRequirement
-
Deprecated.
- excludes() - Method in annotation type org.xwiki.test.annotation.AllComponents
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() - Method in class org.xwiki.test.jmock.AbstractMockingComponentTestCase
-
Deprecated.
- getMockLogger(Class<?>) - Method in class org.xwiki.test.jmock.AbstractMockingComponentTestCase
-
Deprecated.
- getPermanentDirectory() - Method in class org.xwiki.test.TestEnvironment
- getResource(String) - Method in class org.xwiki.test.TestEnvironment
- getResourceAsStream(String) - Method in class org.xwiki.test.TestEnvironment
- getStore(ExtensionContext) - Static method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
- getTemporaryDirectory() - Method in class org.xwiki.test.TestEnvironment
H
- hint() - Method in annotation type org.xwiki.test.jmock.annotation.MockingRequirement
-
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
andComponentList
annotations. - initializeTest(Object, Method, Object...) - Method in class org.xwiki.test.TestComponentManager
-
Initialize the test component manager by registering components based on the presence of
AllComponents
andComponentList
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) - Static method in class org.xwiki.test.junit5.mockito.MockitoComponentManagerExtension
M
- mockComponent(Object) - Method in class org.xwiki.test.mockito.MockitoComponentMocker
-
Mock the injected components for the specified component implementation.
- MockComponent - Annotation Type in org.xwiki.test.junit5.mockito
-
Marks a field as being a Mock component.
- mockery - Variable in class org.xwiki.test.jmock.AbstractMockingTestCase
-
Deprecated.Automatically verify JMock expectations.
- MockingComponentManager - Class in org.xwiki.test.jmock
-
Deprecated.use
ComponentTest
instead - MockingComponentManager() - Constructor for class org.xwiki.test.jmock.MockingComponentManager
-
Deprecated.
- MockingRequirement - Annotation Type in org.xwiki.test.jmock.annotation
-
Deprecated.use
InjectMockComponents
instead - MockingRequirements - Annotation Type in org.xwiki.test.jmock.annotation
-
Deprecated.use
InjectMockComponents
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
-
See javadoc for
MockitoComponentMockingRule
. - 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<? extends T>, Type, String) - Constructor for class org.xwiki.test.mockito.MockitoComponentMocker
- MockitoComponentMocker(MockitoComponentManager, Class<? extends T>, 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
orComponentManagerRule
which should only be used for integration tests. - MockitoComponentMockingRule(Class<? extends T>) - Constructor for class org.xwiki.test.mockito.MockitoComponentMockingRule
- MockitoComponentMockingRule(Class<? extends T>, Type) - 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, 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>, List<? extends Class<?>>) - 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
- processSingleInjectMockComponents(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(Class<?>) - Method in class org.xwiki.test.TestComponentManager
-
Register components associated to the provided class.
- registerComponent(Type, Object) - Method in class org.xwiki.test.TestComponentManager
-
Registers a component (with a default role hint).
- registerComponent(Type, String, Object) - Method in class org.xwiki.test.TestComponentManager
-
Registers a component.
- 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>) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
-
Deprecated.
- registerMockComponent(Class<T>, String) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
-
Deprecated.
- registerMockComponent(Class<T>, String, String) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
-
Deprecated.
- registerMockComponent(Type) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
-
Deprecated.
- 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).
- registerMockComponent(Type, String) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
-
Deprecated.
- 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, String, Class, boolean) - Method in class org.xwiki.test.mockito.MockitoComponentManager
-
Registers a Mock component.
- registerMockComponent(Type, String, String) - Method in class org.xwiki.test.jmock.AbstractMockingTestCase
-
Deprecated.
- registerMockComponent(Mockery, Type) - 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, String, String) - Method in class org.xwiki.test.jmock.MockingComponentManager
-
Deprecated.Register a mock component.
- 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
- role() - Method in annotation type org.xwiki.test.jmock.annotation.MockingRequirement
-
Deprecated.
- role() - Method in annotation type org.xwiki.test.junit5.mockito.InjectComponentManager
- role() - Method in annotation type org.xwiki.test.junit5.mockito.InjectMockComponents
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
andComponentList
annotations to decide what components to discover and register. - TestComponentManager() - Constructor for class org.xwiki.test.TestComponentManager
- TestEnvironment - Class in org.xwiki.test
-
Environment implementation for tests that looks for resource in the classloader used to load this class.
- TestEnvironment() - Constructor for class org.xwiki.test.TestEnvironment
V
- value() - Method in annotation type org.xwiki.test.annotation.AfterComponent
- value() - Method in annotation type org.xwiki.test.annotation.BeforeComponent
- value() - Method in annotation type org.xwiki.test.annotation.ComponentList
- value() - Method in annotation type org.xwiki.test.jmock.annotation.MockingRequirement
-
Deprecated.
- value() - Method in annotation type org.xwiki.test.jmock.annotation.MockingRequirements
-
Deprecated.
X
- XWikiComponentInitializer - Class in org.xwiki.test.jmock
-
Deprecated.use
ComponentTest
instead - XWikiComponentInitializer() - Constructor for class org.xwiki.test.jmock.XWikiComponentInitializer
-
Deprecated.
- XWikiPropertiesMemoryConfigurationSource - Class in org.xwiki.test
-
Make easier to inject a usable
ConfigurationSource
component associated to role hint "xwikiproperties". - XWikiPropertiesMemoryConfigurationSource() - Constructor for class org.xwiki.test.XWikiPropertiesMemoryConfigurationSource
- 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
All Classes All Packages