org.hackystat.sensor.xmldata.option
Class OptionUtilTest

java.lang.Object
  extended by org.hackystat.sensor.xmldata.option.OptionUtilTest

public class OptionUtilTest
extends java.lang.Object

Tests if the option utility helper methods return the correct values.

Author:
aito

Constructor Summary
OptionUtilTest()
           
 
Method Summary
 void testCreateShell()
          Tests if the correct sensorshell instance is returned.
 void testGetCurrentTimestamp()
          Tests if the correct current timestamp is returned.
 void testGetTimestampInMillis()
          Tests if the correct long value in milliseconds is returned based on the timestamp.
 void testMassageTimestamp()
          Tests if the specified timestamp is massaged to valid values correctly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionUtilTest

public OptionUtilTest()
Method Detail

testGetTimestampInMillis

public void testGetTimestampInMillis()
Tests if the correct long value in milliseconds is returned based on the timestamp.


testGetCurrentTimestamp

public void testGetCurrentTimestamp()
Tests if the correct current timestamp is returned.


testMassageTimestamp

public void testMassageTimestamp()
Tests if the specified timestamp is massaged to valid values correctly.


testCreateShell

public void testCreateShell()
Tests if the correct sensorshell instance is returned.