org.eigenbase.util
Class OptionsListTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.eigenbase.util.OptionsListTest
- All Implemented Interfaces:
- Test
public class OptionsListTest
- extends TestCase
Unit test for OptionsList
.
- Since:
- Sep 4, 2003
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/util/OptionsListTest.java#9 $
- Author:
- Julian Hyde
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, format |
NL
private static final String NL
OptionsListTest
public OptionsListTest()
_testBooleanArg
public void _testBooleanArg()
_testBooleanArgMissing
public void _testBooleanArgMissing()
_testUnknownArg
public void _testUnknownArg()
_testUnknownArgWithEqualsSyntax
public void _testUnknownArgWithEqualsSyntax()
_testStringArgSameAsDefault
public void _testStringArgSameAsDefault()
_testStringArgUsesDefaultValue
public void _testStringArgUsesDefaultValue()
_testEnumeratedArgShort
public void _testEnumeratedArgShort()
_testEnumeratedArgLong
public void _testEnumeratedArgLong()
_testEnumeratedArgWrong
public void _testEnumeratedArgWrong()
_testEnumeratedArgDefault
public void _testEnumeratedArgDefault()
_testMissingMandatory
public void _testMissingMandatory()
_testGroupOptionsMustBeOptional
public void _testGroupOptionsMustBeOptional()
_testGroupMissing
public void _testGroupMissing()
_testAnonymousOption
public void _testAnonymousOption()
_testRepeatingOption
public void _testRepeatingOption()
testAlwaysSucceeds
public void testAlwaysSucceeds()
assertContains
private void assertContains(String expected,
String actual)
checkIt
private void checkIt(String expected,
OptionsList.Option[] options,
String[] args)