org.hackystat.sensorshell
Class TestMultiSensorShell

java.lang.Object
  extended by org.hackystat.sensorshell.TestMultiSensorShell

public class TestMultiSensorShell
extends java.lang.Object

Provides testing classes and a main method for experimenting with MultiSensorShell performance.

Author:
Philip Johnson

Constructor Summary
TestMultiSensorShell()
           
 
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 testMultiSensorShell()
          Tests that the MultiSensorShell can send data to the Server and this data can be retrieved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMultiSensorShell

public TestMultiSensorShell()
Method Detail

setupServer

public static void setupServer()
                        throws java.lang.Exception
Starts the server going for these tests, and makes sure our test user is registered.

Throws:
java.lang.Exception - If problems occur setting up the server.

teardownServer

public static void teardownServer()
                           throws java.lang.Exception
Gets rid of the sent sensor data and the user.

Throws:
java.lang.Exception - If problems occur setting up the server.

testMultiSensorShell

public void testMultiSensorShell()
                          throws java.lang.Exception
Tests that the MultiSensorShell can send data to the Server and this data can be retrieved.

Throws:
java.lang.Exception - If problems occur.