com.splunk
Class ServiceTest
java.lang.Object
com.splunk.SDKTestCase
com.splunk.ServiceTest
public class ServiceTest
- extends SDKTestCase
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 |
ServiceTest
public ServiceTest()
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()