com.splunk
Class ResultsReaderTest

java.lang.Object
  extended by com.splunk.SDKTestCase
      extended by com.splunk.ResultsReaderTest

public class ResultsReaderTest
extends SDKTestCase

Test aspects of results readers not covered by the atom, results, and export test data. Note: some of these tests predate the introduction of the atom, results, and export test data, and may overlap with tests in that set.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.splunk.SDKTestCase
SDKTestCase.EventuallyTrueBehavior
 
Constructor Summary
ResultsReaderTest()
           
 
Method Summary
 void testEventIsReadOnly()
           
 void testExportMultiReaderJson()
           
 void testExportMultiReaderXml()
           
 void testExportSingleReaderJson()
           
 void testExportSingleReaderXml()
           
 void testPreviewSingleReaderXmlGetNext()
           
 void testPreviewSingleReaderXmlIter()
           
 void testReadCsv()
           
 void testReadCsvFromOneshot()
           
 void testReadFromExportJson()
           
 void testReadFromExportXml()
           
 void testReadJsonOnSplunk4()
           
 void testReadJsonOnSplunk5()
           
 void testReadMultivalueCsvJson()
           
 
Methods inherited from class com.splunk.SDKTestCase
assertEventuallyTrue, clearRestartMessage, connect, hasTestData, installApplicationFromTestData, isPortInUse, openResource, restartRequired, setUp, splunkRestart, streamToString, tearDown, uncheckedSplunkRestart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsReaderTest

public ResultsReaderTest()
Method Detail

testReadCsv

public void testReadCsv()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testReadCsvFromOneshot

public void testReadCsvFromOneshot()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testReadFromExportJson

public void testReadFromExportJson()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testReadFromExportXml

public void testReadFromExportXml()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testReadJsonOnSplunk4

public void testReadJsonOnSplunk4()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testReadJsonOnSplunk5

public void testReadJsonOnSplunk5()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testReadMultivalueCsvJson

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

testEventIsReadOnly

public void testEventIsReadOnly()

testPreviewSingleReaderXmlIter

public void testPreviewSingleReaderXmlIter()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testPreviewSingleReaderXmlGetNext

public void testPreviewSingleReaderXmlGetNext()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testExportSingleReaderXml

public void testExportSingleReaderXml()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testExportMultiReaderXml

public void testExportMultiReaderXml()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testExportSingleReaderJson

public void testExportSingleReaderJson()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testExportMultiReaderJson

public void testExportMultiReaderJson()
                               throws java.lang.Exception
Throws:
java.lang.Exception