|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensorshell.TestSingleSensorShell
public class TestSingleSensorShell
Provides simple unit tests for the SensorShell.
Constructor Summary | |
---|---|
TestSingleSensorShell()
|
Method Summary | |
---|---|
static void |
setupServer()
Starts the server going for these tests, and makes sure our test user is registered. |
static void |
teardownServer()
Gets rid of the sent sensor data and the user. |
void |
testSensorShell()
Tests that the SensorShell can send data to the Server and this data can be retrieved. |
void |
testStateChange()
Tests that statechange works correctly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestSingleSensorShell()
Method Detail |
---|
public static void setupServer() throws java.lang.Exception
java.lang.Exception
- If problems occur setting up the server.public static void teardownServer() throws java.lang.Exception
java.lang.Exception
- If problems occur setting up the server.public void testSensorShell() throws java.lang.Exception
java.lang.Exception
- If problems occur.public void testStateChange() 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 |