com.splunk
Class ResultsReaderTestFromExpectedFile

java.lang.Object
  extended by com.splunk.ResultsReaderTestFromExpectedFile

public class ResultsReaderTestFromExpectedFile
extends java.lang.Object

Test the parsing of XML from results endpoints. All the raw XML to parse is in the data/results/ directory, and the expected behavior is specified in the data/resultsreader_test_data.json file.


Constructor Summary
ResultsReaderTestFromExpectedFile(java.lang.String version, java.lang.String testName)
           
 
Method Summary
static java.util.Collection<java.lang.Object[]> testCases()
           
 void testResultsReader()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsReaderTestFromExpectedFile

public ResultsReaderTestFromExpectedFile(java.lang.String version,
                                         java.lang.String testName)
Method Detail

testCases

public static java.util.Collection<java.lang.Object[]> testCases()

testResultsReader

public void testResultsReader()
                       throws java.io.IOException,
                              javax.xml.stream.XMLStreamException
Throws:
java.io.IOException
javax.xml.stream.XMLStreamException