Class RenderingTest
- java.lang.Object
-
- org.xwiki.rendering.test.cts.AbstractRenderingTest
-
- org.xwiki.rendering.test.cts.junit5.RenderingTest
-
public class RenderingTest extends AbstractRenderingTest
A generic JUnit Test used byCompatibilityTestSuite
to run a single CTS test.- Since:
- 13.0
- Version:
- $Id: d143bb556fd8f037130b207822a8ef9395225f2f $
-
-
Constructor Summary
Constructors Constructor Description RenderingTest(TestData testData, String metadataSyntaxId, org.xwiki.component.manager.ComponentManager componentManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
throwAssertionException(String message, String expected, String result)
-
Methods inherited from class org.xwiki.rendering.test.cts.AbstractRenderingTest
execute, executeInputTest, executeOutputTest, getTestData
-
-
-
-
Constructor Detail
-
RenderingTest
public RenderingTest(TestData testData, String metadataSyntaxId, org.xwiki.component.manager.ComponentManager componentManager)
- Parameters:
testData
- the data for a single testmetadataSyntaxId
- the Syntax id of the syntax used as Metadata in the generated XDOM for parserscomponentManager
- the component manager used to find Parser and Renderers
-
-
Method Detail
-
throwAssertionException
protected void throwAssertionException(String message, String expected, String result)
- Specified by:
throwAssertionException
in classAbstractRenderingTest
-
-