com.splunk
Class ExportResultsReaderTest

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

public class ExportResultsReaderTest
extends java.lang.Object

Test loading of data from the export endpoints. All the relevant data is in the data/export/ directory (for raw XML to be parsed) and the data/export_test_data.json file (for the expected results of parsing).


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

Constructor Detail

ExportResultsReaderTest

public ExportResultsReaderTest(java.lang.String version)
Method Detail

testCases

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

testExportWithoutPreview

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

testExportWithPreview

public void testExportWithPreview()
                           throws java.io.IOException
Throws:
java.io.IOException

testExportNonreporting

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