org.hackystat.sensor.xmldata.option
Class TestOptionHandler

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

public class TestOptionHandler
extends java.lang.Object

Tests if the option handler stores, validates, and executes options as intended.

Author:
aito

Constructor Summary
TestOptionHandler()
           
 
Method Summary
 void setUp()
          Sets up each test case.
 void testHasRequiredOptions()
          Tests if all of the required options have been added.
 void testIsOption()
          Tests if the specified option strings return true if they are indeed an option rather than a parameter.
 void testValidateOptions()
          Tests if the options are validated correctly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestOptionHandler

public TestOptionHandler()
Method Detail

setUp

public void setUp()
Sets up each test case.


testValidateOptions

public void testValidateOptions()
Tests if the options are validated correctly.


testHasRequiredOptions

public void testHasRequiredOptions()
Tests if all of the required options have been added.


testIsOption

public void testIsOption()
Tests if the specified option strings return true if they are indeed an option rather than a parameter.