junit.com.mcdermottroe.exemplar.ui
Class OptionsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by junit.com.mcdermottroe.exemplar.ExemplarTestCase<T>
              extended by junit.com.mcdermottroe.exemplar.UtilityClassTestCase<Options>
                  extended by junit.com.mcdermottroe.exemplar.ui.OptionsTest
All Implemented Interfaces:
junit.framework.Test

public class OptionsTest
extends UtilityClassTestCase<Options>

Test class for Options.

Since:
0.1

Field Summary
 
Fields inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase
DELIBERATE_PASS, testedClass, TMP
 
Constructor Summary
OptionsTest()
           
 
Method Summary
 void testAllMandatoryOptionsSet()
          Test Options.allMandatoryOptionsSet().
 void testDescribeDefault()
          Test Options.describeDefault(String).
 void testGetBoolean()
          Test Options.getBoolean(String).
 void testGetDescription()
          Test Options.getDescription(String).
 void testGetEnumDescriptions()
          Test Options.getEnumDescriptions(String).
 void testGetInteger()
          Test Options.getInteger(String).
 void testGetOptionNames()
          Test Options.getOptionNames().
 void testGetString()
          Test Options.getString(String).
 void testIsArgument()
          Test Options.isArgument(String).
 void testIsDebugSet()
          Test Options.isDebugSet().
 void testIsEnum()
          Test Options.isEnum(String).
 void testIsInitialised()
          Test Options.isInitialised().
 void testIsLegal()
          Test Options.isLegal(String).
 void testIsMandatory()
          Test Options.isMandatory(String).
 void testIsMultiValue()
          Test Options.isMultiValue(String).
 void testIsSet()
          Test Options.isSet(String, String).
 void testIsSwitch()
          Test Options.isSwitch(String).
 void testReset()
          Test Options.reset().
 void testSet()
          Test Options.set(String, String).
 void testSetUIFinished()
          Test Options.setUIFinished().
 
Methods inherited from class junit.com.mcdermottroe.exemplar.UtilityClassTestCase
testAllFieldsStatic, testAllMethodsStatic, testOnePrivateConstructor
 
Methods inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase
getTestedClass, setUp, testAllMethodsBeingTested, testCorrectPackage
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptionsTest

public OptionsTest()
Method Detail

testAllMandatoryOptionsSet

public void testAllMandatoryOptionsSet()
Test Options.allMandatoryOptionsSet().


testDescribeDefault

public void testDescribeDefault()
Test Options.describeDefault(String).


testGetBoolean

public void testGetBoolean()
Test Options.getBoolean(String).


testGetDescription

public void testGetDescription()
Test Options.getDescription(String).


testGetEnumDescriptions

public void testGetEnumDescriptions()
Test Options.getEnumDescriptions(String).


testGetInteger

public void testGetInteger()
Test Options.getInteger(String).


testGetString

public void testGetString()
Test Options.getString(String).


testGetOptionNames

public void testGetOptionNames()
Test Options.getOptionNames().


testIsArgument

public void testIsArgument()
Test Options.isArgument(String).


testIsDebugSet

public void testIsDebugSet()
Test Options.isDebugSet().


testIsEnum

public void testIsEnum()
Test Options.isEnum(String).


testIsInitialised

public void testIsInitialised()
Test Options.isInitialised().


testIsLegal

public void testIsLegal()
Test Options.isLegal(String).


testIsMandatory

public void testIsMandatory()
Test Options.isMandatory(String).


testIsMultiValue

public void testIsMultiValue()
Test Options.isMultiValue(String).


testIsSet

public void testIsSet()
Test Options.isSet(String, String).


testIsSwitch

public void testIsSwitch()
Test Options.isSwitch(String).


testReset

public void testReset()
Test Options.reset().


testSet

public void testSet()
Test Options.set(String, String).


testSetUIFinished

public void testSetUIFinished()
Test Options.setUIFinished().