|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensorbase.test.SensorBaseRestApiHelper
org.hackystat.sensorbase.resource.sensordatatypes.TestSdtRestApi
public class TestSdtRestApi
Tests the SensorBase REST API for both the SensorDataTypes and SensorDataType resources.
Field Summary |
---|
Fields inherited from class org.hackystat.sensorbase.test.SensorBaseRestApiHelper |
---|
adminEmail, adminPassword, projectManager, sdtManager, sensorDataManager, server, userManager |
Constructor Summary | |
---|---|
TestSdtRestApi()
|
Method Summary | |
---|---|
void |
getSdt()
Test that GET host/sensorbase/sensordatatypes/TestSdt returns the TestSdt SDT. |
void |
getSdtIndex()
Test that GET host/sensorbase/sensordatatypes returns an index containing TestSDT, and that all SDTs in the index can be retrieved. |
void |
putSdt()
Test that PUT and DELETE host/sensorbase/sensordatatypes/TestSdt are OK. |
Methods inherited from class org.hackystat.sensorbase.test.SensorBaseRestApiHelper |
---|
getHostName, setupServer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestSdtRestApi()
Method Detail |
---|
public void getSdtIndex() throws java.lang.Exception
java.lang.Exception
- If problems occur.public void getSdt() throws java.lang.Exception
java.lang.Exception
- If problems occur.public void putSdt() throws java.lang.Exception
java.lang.Exception
- If problems occur.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |