Class TestDataParser
- java.lang.Object
-
- org.xwiki.rendering.test.integration.TestDataParser
-
public class TestDataParser extends Object
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>
Note that there can be several
.input
and.expect
entries. For each.input
definition, all the found.expect
will be executed and checked.- Since:
- 3.0RC1
- Version:
- $Id: 0b59b92a5190704135a56067bb3149c0a742ccee $
-
-
Constructor Summary
Constructors Constructor Description TestDataParser()
-
-
-
Method Detail
-
parse
public TestData parse(InputStream source, String resourceName) throws IOException
- Throws:
IOException
-
-