org.hackystat.sensorshell
Class TestSensorShellProperties

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

public class TestSensorShellProperties
extends java.lang.Object

Provides simple unit tests for SensorShellProperties.

Author:
Aaron A. Kagawa, Philip Johnson

Constructor Summary
TestSensorShellProperties()
           
 
Method Summary
 void testDefaultSensorProperties()
          Tests SensorProperties class when using the 'test' constructor.
 void testInvalidSensorProperties()
          Tests basic functions of an invalid creation of a SensorProperties instance.
 void testNullSensorProperties()
          Tests basic functions of an invalid creation of a SensorProperties instance.
 void testPropertiesConstructor()
          Tests SensorShellProperties class when using the Properties-based constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSensorShellProperties

public TestSensorShellProperties()
Method Detail

testDefaultSensorProperties

public void testDefaultSensorProperties()
                                 throws java.lang.Exception
Tests SensorProperties class when using the 'test' constructor.

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

testPropertiesConstructor

public void testPropertiesConstructor()
                               throws java.lang.Exception
Tests SensorShellProperties class when using the Properties-based constructor.

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

testNullSensorProperties

public void testNullSensorProperties()
                              throws SensorShellException
Tests basic functions of an invalid creation of a SensorProperties instance.

Throws:
SensorShellException - If problems occur.

testInvalidSensorProperties

public void testInvalidSensorProperties()
                                 throws SensorShellException
Tests basic functions of an invalid creation of a SensorProperties instance.

Throws:
SensorShellException - If problems occur.