com.splunk
Class SearchJobTest

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

public class SearchJobTest
extends SDKTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class com.splunk.SDKTestCase
SDKTestCase.EventuallyTrueBehavior
 
Constructor Summary
SearchJobTest()
           
 
Method Summary
 void setUp()
           
 void testAsyncSearchWithGarbageFails()
           
 void testAttributes()
           
 void testBlockingExport()
           
 void testBlockingSearch()
           
 void testCancel()
           
 void testCancelIsIdempotent()
           
 void testCursorTime()
           
 void testDisablePreview()
           
 void testEnablePreview()
           
 void testEventArgs(Job job)
           
 void testEventsFromJob()
           
 void testExportArgs()
           
 void testExportCanEnableSg()
           
 void testExportHasNoSgByDefault()
           
 void testExportWithGarbageFails()
           
 void testFinalize()
           
 void testJobArgs()
           
 void testJobCanEnableSg()
           
 void testJobHasNoSgByDefault()
           
 void testOneshotCanEnableSg()
           
 void testOneshotHasNoSgByDefault()
           
 void testOneshotWithGarbageFails()
           
 void testParseError()
           
 void testParseErrorWithArgs()
           
 void testParseWithParseOnly()
           
 void testPause()
           
 void testPreview()
           
 void testPreviewArgs(Job job)
           
 void testRemoteTimeline()
           
 void testRemove()
           
 void testRemoveFail()
           
 void testResultArgs(Job job)
           
 void testResultsFromJob()
           
 void testSearchLog()
           
 void testSetPriority()
           
 void testSimpleParse()
           
 void testSummary()
           
 void testTimeline()
           
 void testTimelineWithJobArgs()
           
 void testUnpause()
           
 
Methods inherited from class com.splunk.SDKTestCase
assertEventuallyTrue, clearRestartMessage, connect, hasTestData, installApplicationFromTestData, isPortInUse, openResource, restartRequired, splunkRestart, streamToString, tearDown, uncheckedSplunkRestart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchJobTest

public SearchJobTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class SDKTestCase
Throws:
java.lang.Exception

testRemove

public void testRemove()

testEventsFromJob

public void testEventsFromJob()

testResultsFromJob

public void testResultsFromJob()

testBlockingSearch

public void testBlockingSearch()

testOneshotWithGarbageFails

public void testOneshotWithGarbageFails()

testBlockingExport

public void testBlockingExport()

testExportWithGarbageFails

public void testExportWithGarbageFails()

testAsyncSearchWithGarbageFails

public void testAsyncSearchWithGarbageFails()

testOneshotHasNoSgByDefault

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

testOneshotCanEnableSg

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

testExportHasNoSgByDefault

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

testExportCanEnableSg

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

testJobHasNoSgByDefault

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

testJobCanEnableSg

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

testExportArgs

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

testJobArgs

public void testJobArgs()
                 throws java.io.IOException,
                        java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

testEventArgs

public void testEventArgs(Job job)
                   throws java.io.IOException,
                          java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

testResultArgs

public void testResultArgs(Job job)
                    throws java.io.IOException,
                           java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

testPreviewArgs

public void testPreviewArgs(Job job)
                     throws java.io.IOException,
                            java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

testSimpleParse

public void testSimpleParse()

testParseWithParseOnly

public void testParseWithParseOnly()

testParseError

public void testParseError()

testParseErrorWithArgs

public void testParseErrorWithArgs()

testCancel

public void testCancel()

testCancelIsIdempotent

public void testCancelIsIdempotent()

testCursorTime

public void testCursorTime()

testRemoteTimeline

public void testRemoteTimeline()
                        throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testRemoveFail

public void testRemoveFail()
                    throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testPreview

public void testPreview()
                 throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testSearchLog

public void testSearchLog()

testSummary

public void testSummary()

testTimeline

public void testTimeline()

testTimelineWithJobArgs

public void testTimelineWithJobArgs()

testAttributes

public void testAttributes()

testEnablePreview

public void testEnablePreview()
                       throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testDisablePreview

public void testDisablePreview()
                        throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testSetPriority

public void testSetPriority()
                     throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testPause

public void testPause()
               throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testUnpause

public void testUnpause()
                 throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testFinalize

public void testFinalize()
                  throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException