A B C D E F G H I M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractRenderingTest - Class in org.xwiki.rendering.test.cts
-
A generic JUnit Test used by
CompatibilityTestSuite
to run a single CTS test. - AbstractRenderingTest - Class in org.xwiki.rendering.test.integration
-
A generic base JUnit Test to parse some passed content and verify it matches some passed expectation.
- AbstractRenderingTest(String, String, String, String, boolean, List<String>, Map<String, ?>, ComponentManager) - Constructor for class org.xwiki.rendering.test.integration.AbstractRenderingTest
- AbstractRenderingTest(TestData, String, ComponentManager) - Constructor for class org.xwiki.rendering.test.cts.AbstractRenderingTest
- assertBlocks(String, List<Block>, PrintRendererFactory) - Static method in class org.xwiki.rendering.test.BlockAssert
-
Deprecated.
- assertBlocks(String, List<Block>, PrintRendererFactory) - Static method in class org.xwiki.rendering.test.integration.junit5.BlockAssert
- assertBlocksStartsWith(String, List<Block>, PrintRendererFactory) - Static method in class org.xwiki.rendering.test.BlockAssert
-
Deprecated.
- assertBlocksStartsWith(String, List<Block>, PrintRendererFactory) - Static method in class org.xwiki.rendering.test.integration.junit5.BlockAssert
B
- beginDocument(MetaData) - Method in class org.xwiki.rendering.test.integration.SyntaxWrappingListener
- BlockAssert - Class in org.xwiki.rendering.test
-
Deprecated.starting with 11.6RC1 use
BlockAssert
instead - BlockAssert - Class in org.xwiki.rendering.test.integration.junit5
-
Class to be imported in JUnit5 unit tests as a static import and which contains helper methods to assert Rendering Blocks.
- BlockAssert() - Constructor for class org.xwiki.rendering.test.BlockAssert
-
Deprecated.Protect constructor since it is a static only class.
- BlockAssert() - Constructor for class org.xwiki.rendering.test.integration.junit5.BlockAssert
-
Protect constructor since it is a static only class.
C
- classBlock(RunNotifier) - Method in class org.xwiki.rendering.test.cts.RenderingTestClassRunner
- CompatibilityTestSuite - Class in org.xwiki.rendering.test.cts
-
Run all tests found in resources files located in the classpath, for a given Syntax.
- CompatibilityTestSuite(Class<?>) - Constructor for class org.xwiki.rendering.test.cts.CompatibilityTestSuite
-
Only called reflectively.
- computeTestName() - Method in class org.xwiki.rendering.test.cts.TestData
-
Compute the test name, used to display in the JUnit Test Runner and for ignoring tests.
- configuration - Variable in class org.xwiki.rendering.test.cts.TestData
-
Configuration data for the test.
- configuration - Variable in class org.xwiki.rendering.test.integration.TestData
- createTest() - Method in class org.xwiki.rendering.test.cts.RenderingTestClassRunner
- ctsData - Variable in class org.xwiki.rendering.test.cts.TestData
-
The CTS test data (either input or output, depending on whether the syntax data is input or outut; it's the opposite of the syntax data).
- ctsExtension - Variable in class org.xwiki.rendering.test.cts.TestData
-
CTS file extension.
D
- DEFAULT_PATTERN - Static variable in annotation type org.xwiki.rendering.test.cts.Scope
-
The default regex to locate test data files, see
CompatibilityTestSuite
. - DEFAULT_PATTERN - Static variable in interface org.xwiki.rendering.test.integration.junit5.RenderingTests
-
The default pattern matching the tests to execute.
E
- endDocument(MetaData) - Method in class org.xwiki.rendering.test.integration.SyntaxWrappingListener
- equals(Object) - Method in class org.xwiki.rendering.test.cts.TestData
- equals(Object) - Method in class org.xwiki.rendering.test.cts.TestDataConfiguration
- execute() - Method in class org.xwiki.rendering.test.cts.AbstractRenderingTest
-
Executes a single test.
- execute() - Method in class org.xwiki.rendering.test.cts.RenderingTest
-
Executes a single test.
- execute() - Method in class org.xwiki.rendering.test.integration.AbstractRenderingTest
- execute() - Method in class org.xwiki.rendering.test.integration.RenderingTest
- execute(Object[], Object) - Method in class org.xwiki.rendering.test.integration.junit5.RenderingTestExecutor
- executeInputTest() - Method in class org.xwiki.rendering.test.cts.AbstractRenderingTest
-
Executes the test as an input test.
- executeOutputTest() - Method in class org.xwiki.rendering.test.cts.AbstractRenderingTest
-
Executes the test as an output test.
- expectations - Variable in class org.xwiki.rendering.test.integration.TestData
F
- failingTests - Variable in class org.xwiki.rendering.test.cts.TestDataConfiguration
-
List of tests that are excluded because they're currently failing (they need to be fixed ASAP), using regexes (eg
.*/bold1\\(IN\\).*
). - fileExtension - Variable in class org.xwiki.rendering.test.cts.TestDataConfiguration
-
The extension of the test files.
- findRelativeTestDirectoryNames(String, String, String) - Method in class org.xwiki.rendering.test.cts.TestDataParser
-
Find
*.xml
files in the classpath and return the list of all resources found, without their filename extensions.
G
- generateData(String, String) - Method in class org.xwiki.rendering.test.integration.TestDataGenerator
- getChildren() - Method in class org.xwiki.rendering.test.cts.CompatibilityTestSuite
- getChildren() - Method in class org.xwiki.rendering.test.integration.RenderingTestSuite
- getComponentDescriptor() - Static method in class org.xwiki.rendering.test.MockWikiModel
-
Create and return a descriptor for this component.
- getComponentManager() - Method in class org.xwiki.rendering.test.integration.AbstractRenderingTest
- getDescription() - Method in class org.xwiki.rendering.test.cts.CompatibilityTestSuite
- getDescription() - Method in class org.xwiki.rendering.test.cts.IgnoredRenderingTestClassRunner
- getDescription() - Method in class org.xwiki.rendering.test.integration.RenderingTestSuite
-
We override this method so that the JUnit results are not displayed in a test hierarchy with a single test result for each node (as it would be otherwise since RenderingTest has a single test method).
- getDocumentEditURL(ResourceReference) - Method in class org.xwiki.rendering.test.MockWikiModel
- getDocumentViewURL(ResourceReference) - Method in class org.xwiki.rendering.test.MockWikiModel
- getImageURL(ResourceReference, Map<String, String>) - Method in class org.xwiki.rendering.test.MockWikiModel
- getLinkURL(ResourceReference) - Method in class org.xwiki.rendering.test.MockWikiModel
- getName() - Method in class org.xwiki.rendering.test.cts.RenderingTestClassRunner
- getTestData() - Method in class org.xwiki.rendering.test.cts.AbstractRenderingTest
H
- hashCode() - Method in class org.xwiki.rendering.test.cts.TestData
- hashCode() - Method in class org.xwiki.rendering.test.cts.TestDataConfiguration
I
- IgnoredRenderingTestClassRunner - Class in org.xwiki.rendering.test.cts
-
Used to ignore tests for which there is CTS data but no Syntax test data.
- IgnoredRenderingTestClassRunner(Class<?>, TestData) - Constructor for class org.xwiki.rendering.test.cts.IgnoredRenderingTestClassRunner
- inheritSyntax - Variable in class org.xwiki.rendering.test.cts.TestDataConfiguration
-
The Syntax to inherit from if any.
- Initialized - Annotation Type in org.xwiki.rendering.test.cts
-
Used to perform specific initializations before each test in the suite is executed.
- inputs - Variable in class org.xwiki.rendering.test.integration.TestData
- isDocumentAvailable(ResourceReference) - Method in class org.xwiki.rendering.test.MockWikiModel
- isFailingTest() - Method in class org.xwiki.rendering.test.cts.TestData
- isNotApplicable() - Method in class org.xwiki.rendering.test.cts.TestData
- isSyntaxInputTest - Variable in class org.xwiki.rendering.test.cts.TestData
-
True if this test is an input test, ie the syntax data represents an input, false otherwise.
M
- metadata() - Method in annotation type org.xwiki.rendering.test.cts.Syntax
- MockWikiModel - Class in org.xwiki.rendering.test
-
Mock WikiModel implementation for integration tests.
- MockWikiModel() - Constructor for class org.xwiki.rendering.test.MockWikiModel
N
- notApplicableTests - Variable in class org.xwiki.rendering.test.cts.TestDataConfiguration
-
List of tests that are not applicable, using regexes (eg
.*/bold1\\(IN\\).*
).
O
- org.xwiki.rendering.test - package org.xwiki.rendering.test
- org.xwiki.rendering.test.cts - package org.xwiki.rendering.test.cts
- org.xwiki.rendering.test.cts.junit5 - package org.xwiki.rendering.test.cts.junit5
- org.xwiki.rendering.test.integration - package org.xwiki.rendering.test.integration
- org.xwiki.rendering.test.integration.junit5 - package org.xwiki.rendering.test.integration.junit5
P
- parse(InputStream, String) - Method in class org.xwiki.rendering.test.integration.TestDataParser
- parseSingleTestData(String, String, String, TestDataConfiguration, ClassLoader) - Method in class org.xwiki.rendering.test.cts.TestDataParser
-
Parse data for single test.
- parseTestConfiguration(String, String, ClassLoader) - Method in class org.xwiki.rendering.test.cts.TestDataParser
-
Parse Test configuration by looking for a
config.properties
file in the Syntax directory. - parseTestData(String, String, String, String) - Method in class org.xwiki.rendering.test.cts.TestDataParser
-
Read all test data.
- pattern() - Method in annotation type org.xwiki.rendering.test.cts.Scope
- pattern() - Method in annotation type org.xwiki.rendering.test.integration.junit5.RenderingTests.Scope
- pattern() - Method in annotation type org.xwiki.rendering.test.integration.RenderingTestSuite.Scope
- prefix - Variable in class org.xwiki.rendering.test.cts.TestData
-
The location where this tests is found in the CTS classpath (eg "cts/simple/bold/bold1").
R
- RenderingTest - Class in org.xwiki.rendering.test.cts.junit5
-
A generic JUnit Test used by
CompatibilityTestSuite
to run a single CTS test. - RenderingTest - Class in org.xwiki.rendering.test.cts
-
A generic JUnit Test used by
CompatibilityTestSuite
to run a single CTS test. - RenderingTest - Class in org.xwiki.rendering.test.integration.junit5
-
A generic JUnit Test used by
RenderingTestExecutor
to parse some passed content and verify it matches some passed expectation. - RenderingTest - Class in org.xwiki.rendering.test.integration
-
A generic JUnit Test used by
RenderingTestSuite
to parse some passed content and verify it matches some passed expectation. - RenderingTest(String, String, String, String, boolean, List<String>, Map<String, ?>, ComponentManager) - Constructor for class org.xwiki.rendering.test.integration.junit5.RenderingTest
- RenderingTest(String, String, String, String, boolean, List<String>, Map<String, ?>, ComponentManager) - Constructor for class org.xwiki.rendering.test.integration.RenderingTest
- RenderingTest(TestData, String, ComponentManager) - Constructor for class org.xwiki.rendering.test.cts.junit5.RenderingTest
- RenderingTest(TestData, String, ComponentManager) - Constructor for class org.xwiki.rendering.test.cts.RenderingTest
- RenderingTestClassRunner - Class in org.xwiki.rendering.test.cts
-
Represents a Test Runner for a single Rendering Test to execute.
- RenderingTestExecutor - Class in org.xwiki.rendering.test.integration.junit5
-
Wraps a
RenderingTest
by setting up a Component Manager, executing methods annotated withRenderingTests.Initialized
and tearing down the Component Manager. - RenderingTestExecutor() - Constructor for class org.xwiki.rendering.test.integration.junit5.RenderingTestExecutor
- renderingTests() - Method in interface org.xwiki.rendering.test.integration.junit5.RenderingTests
- RenderingTests - Interface in org.xwiki.rendering.test.integration.junit5
-
Run all tests found in
*.test
files located in the classpath. - RenderingTests.Initialized - Annotation Type in org.xwiki.rendering.test.integration.junit5
-
Annotation to use to indicate a method to execute before the test executes.
- RenderingTests.Scope - Annotation Type in org.xwiki.rendering.test.integration.junit5
-
Annotation to use to indicate the resources directory containing the tests to execute.
- RenderingTestSuite - Class in org.xwiki.rendering.test.integration
-
Run all tests found in
*.test
files located in the classpath. - RenderingTestSuite(Class<?>) - Constructor for class org.xwiki.rendering.test.integration.RenderingTestSuite
-
Only called reflectively.
- RenderingTestSuite.Initialized - Annotation Type in org.xwiki.rendering.test.integration
- RenderingTestSuite.Scope - Annotation Type in org.xwiki.rendering.test.integration
- runChild(FrameworkMethod, RunNotifier) - Method in class org.xwiki.rendering.test.cts.RenderingTestClassRunner
S
- Scope - Annotation Type in org.xwiki.rendering.test.cts
-
Used to specify which test data to run in the test suite.
- streaming - Variable in class org.xwiki.rendering.test.integration.TestData
- Syntax - Annotation Type in org.xwiki.rendering.test.cts
-
Used to specify for which Syntax the test suite is for.
- syntaxData - Variable in class org.xwiki.rendering.test.cts.TestData
-
The syntax data (either input or output).
- syntaxExtension - Variable in class org.xwiki.rendering.test.cts.TestData
-
Test Syntax file extension.
- syntaxId - Variable in class org.xwiki.rendering.test.cts.TestData
-
The syntax being tested and in which the syntax data is written in (eg "xwiki/2.0").
- SyntaxWrappingListener - Class in org.xwiki.rendering.test.integration
-
Filter
MetaData
source element from begin/endDocument events. - SyntaxWrappingListener() - Constructor for class org.xwiki.rendering.test.integration.SyntaxWrappingListener
T
- TestData - Class in org.xwiki.rendering.test.cts
-
Contains Test Data for a single test.
- TestData - Class in org.xwiki.rendering.test.integration
- TestData() - Constructor for class org.xwiki.rendering.test.cts.TestData
- TestData() - Constructor for class org.xwiki.rendering.test.integration.TestData
- TestDataConfiguration - Class in org.xwiki.rendering.test.cts
-
Contains Test configuration data (whether to run transformations or not, list of tests to ignore, etc).
- TestDataConfiguration() - Constructor for class org.xwiki.rendering.test.cts.TestDataConfiguration
- TestDataGenerator - Class in org.xwiki.rendering.test.integration
-
Finds all test files in the current classloader, read them and return test data to represent them.
- TestDataGenerator() - Constructor for class org.xwiki.rendering.test.integration.TestDataGenerator
- TestDataParser - Class in org.xwiki.rendering.test.cts
-
Finds all test files in the current classloader, read them and return test data to represent them.
- TestDataParser - Class in org.xwiki.rendering.test.integration
-
Parses test data defined using the following syntax, shown with this example:
.streaming .runTransformations or .runTransformations:tx1,tx2,...txN .configuration <key=value> .input|<syntax parser id> <input content here> .expect|<renderer id> <expected content here>
- TestDataParser() - Constructor for class org.xwiki.rendering.test.cts.TestDataParser
- TestDataParser() - Constructor for class org.xwiki.rendering.test.integration.TestDataParser
- testDescriptions - Variable in class org.xwiki.rendering.test.cts.TestDataConfiguration
-
List of test descriptions.
- testName(FrameworkMethod) - Method in class org.xwiki.rendering.test.cts.RenderingTestClassRunner
- throwAssertionException(String, String, String) - Method in class org.xwiki.rendering.test.cts.AbstractRenderingTest
- throwAssertionException(String, String, String) - Method in class org.xwiki.rendering.test.cts.junit5.RenderingTest
- throwAssertionException(String, String, String) - Method in class org.xwiki.rendering.test.cts.RenderingTest
- throwAssertionException(String, String, String) - Method in class org.xwiki.rendering.test.integration.AbstractRenderingTest
- throwAssertionException(String, String, String) - Method in class org.xwiki.rendering.test.integration.junit5.RenderingTest
- throwAssertionException(String, String, String) - Method in class org.xwiki.rendering.test.integration.RenderingTest
- toString() - Method in class org.xwiki.rendering.test.cts.TestData
- toString() - Method in class org.xwiki.rendering.test.cts.TestDataConfiguration
- transformations - Variable in class org.xwiki.rendering.test.integration.TestData
-
If null it means don't execute transformations.
V
- validateConstructor(List<Throwable>) - Method in class org.xwiki.rendering.test.cts.RenderingTestClassRunner
- value() - Method in annotation type org.xwiki.rendering.test.cts.Scope
- value() - Method in annotation type org.xwiki.rendering.test.cts.Syntax
- value() - Method in annotation type org.xwiki.rendering.test.integration.junit5.RenderingTests.Scope
- value() - Method in annotation type org.xwiki.rendering.test.integration.RenderingTestSuite.Scope
All Classes All Packages