de.java2html.commandline.test
Class CommandlineArgumentsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by de.java2html.test.BasicTestCase
              extended by de.java2html.commandline.test.CommandlineArgumentsTest
All Implemented Interfaces:
junit.framework.Test

public class CommandlineArgumentsTest
extends BasicTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class de.java2html.test.BasicTestCase
BasicTestCase.IBlock
 
Constructor Summary
CommandlineArgumentsTest()
           
 
Method Summary
 void testDuplicateFlagDefinitionThrowsException()
           
 void testDuplicateMixedDefinitionThrowsException()
           
 void testDuplicateParameterDefinitionThrowsException()
           
 void testGetArgumentIntValueWithDefault()
           
 void testGetArgumentIntValueWithIllegalValue()
           
 void testGetArgumentStringValue()
           
 void testGetArgumentStringValueWithDefault()
           
 void testGetRequiredArgumentStringValue()
           
 void testIsFlagSet()
           
 void testIsParameterSet()
           
 void testNumbersAreNotFlags()
           
 void testUnsupportedFlagThrowsException()
           
 void testUnsupportedParameterThrowsException()
           
 
Methods inherited from class de.java2html.test.BasicTestCase
assertInstanceOf, assertThrowsException
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandlineArgumentsTest

public CommandlineArgumentsTest()
Method Detail

testIsFlagSet

public void testIsFlagSet()
                   throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException

testIsParameterSet

public void testIsParameterSet()
                        throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException

testNumbersAreNotFlags

public void testNumbersAreNotFlags()
                            throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException

testDuplicateFlagDefinitionThrowsException

public void testDuplicateFlagDefinitionThrowsException()

testDuplicateParameterDefinitionThrowsException

public void testDuplicateParameterDefinitionThrowsException()

testDuplicateMixedDefinitionThrowsException

public void testDuplicateMixedDefinitionThrowsException()

testGetArgumentStringValue

public void testGetArgumentStringValue()
                                throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException

testGetRequiredArgumentStringValue

public void testGetRequiredArgumentStringValue()
                                        throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException

testGetArgumentStringValueWithDefault

public void testGetArgumentStringValueWithDefault()
                                           throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException

testGetArgumentIntValueWithDefault

public void testGetArgumentIntValueWithDefault()
                                        throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException

testGetArgumentIntValueWithIllegalValue

public void testGetArgumentIntValueWithIllegalValue()

testUnsupportedParameterThrowsException

public void testUnsupportedParameterThrowsException()
                                             throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException

testUnsupportedFlagThrowsException

public void testUnsupportedFlagThrowsException()
                                        throws IllegalCommandlineParametersException
Throws:
IllegalCommandlineParametersException