org.xwiki.rendering.test.integration
Class TestDataParser

java.lang.Object
  extended by 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 .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: 51ac316b3572aae40ea9bf440a364541545c1164 $

Constructor Summary
TestDataParser()
           
 
Method Summary
 TestData parse(InputStream source, String resourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDataParser

public TestDataParser()
Method Detail

parse

public TestData parse(InputStream source,
                      String resourceName)
               throws IOException
Throws:
IOException


Copyright © 2004-2013 XWiki. All Rights Reserved.