com.splunk
Class ServiceTest

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

public class ServiceTest
extends SDKTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class com.splunk.SDKTestCase
SDKTestCase.EventuallyTrueBehavior
 
Constructor Summary
ServiceTest()
           
 
Method Summary
 void testCapabilities()
           
 void testClassicServiceArgs()
           
 void testConstructors()
           
 void testDelete()
           
 void testGet()
           
 void testHandleErrorsReturnedAsJson()
           
 void testInfo()
           
 void testJobs()
           
 void testLogin()
           
 void testLoginGetters()
           
 void testLoginWithArgumentsOverridesServiceArgs()
           
 void testLoginWithNamespace()
           
 void testLoginWithoutAnyUsernameFails()
           
 void testLoginWithoutArguments()
           
 void testLoginWithToken()
           
 void testNewServiceArgs()
           
 void testNewServiceArgsAsMap()
           
 void testNewServiceArgsWithDefaults()
           
 void testOneshot()
           
 void testPost()
           
 void testReceiver()
           
 void testSearch()
           
 void testSettersAndGettersPattern()
           
 void testUsers()
           
 
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

ServiceTest

public ServiceTest()
Method Detail

testCapabilities

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

testReceiver

public void testReceiver()

testGet

public void testGet()

testInfo

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

testLogin

public void testLogin()

testLoginWithoutArguments

public void testLoginWithoutArguments()

testLoginWithArgumentsOverridesServiceArgs

public void testLoginWithArgumentsOverridesServiceArgs()

testLoginWithoutAnyUsernameFails

public void testLoginWithoutAnyUsernameFails()

testLoginWithToken

public void testLoginWithToken()

testLoginGetters

public void testLoginGetters()

testJobs

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

testSettersAndGettersPattern

public void testSettersAndGettersPattern()

testUsers

public void testUsers()

testClassicServiceArgs

public void testClassicServiceArgs()

testNewServiceArgs

public void testNewServiceArgs()

testNewServiceArgsAsMap

public void testNewServiceArgsAsMap()

testNewServiceArgsWithDefaults

public void testNewServiceArgsWithDefaults()

testConstructors

public void testConstructors()

testSearch

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

testOneshot

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

testLoginWithNamespace

public void testLoginWithNamespace()

testHandleErrorsReturnedAsJson

public void testHandleErrorsReturnedAsJson()

testDelete

public void testDelete()

testPost

public void testPost()