public class RenderingTest extends AbstractRenderingTest
CompatibilityTestSuite
to run a single CTS test.Constructor and Description |
---|
RenderingTest(TestData testData,
String metadataSyntaxId,
org.xwiki.component.manager.ComponentManager componentManager) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes a single test.
|
protected void |
throwAssertionException(String message,
String expected,
String result) |
executeInputTest, executeOutputTest, getTestData
public RenderingTest(TestData testData, String metadataSyntaxId, org.xwiki.component.manager.ComponentManager componentManager)
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 Rendererspublic void execute() throws Exception
execute
in class AbstractRenderingTest
Exception
- if an error happened during the testprotected void throwAssertionException(String message, String expected, String result)
throwAssertionException
in class AbstractRenderingTest
Copyright © 2004–2021 XWiki. All rights reserved.