|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--universe.tests.common.CommandLineTest
Tests the functionality of the CommandLine class.
Field Summary |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
CommandLineTest(java.lang.String name)
|
Method Summary | |
static void |
main(java.lang.String[] args)
Permits this test class to be run by itself. |
void |
setUp()
|
void |
tearDown()
|
void |
testBasicOptions()
|
void |
testCopyJfcOptionValue()
|
void |
testCopyOneOptionValue()
|
void |
testCopyOptionValues()
|
void |
testCopyTextOptionValue()
|
void |
testOptionsWithCommaDelimitedValues()
|
void |
testOptionsWithOneOrZeroValues()
|
void |
testOptionsWithRandomlyDelimitedValues()
|
void |
testOptionsWithSpaceDelimitedValues()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CommandLineTest(java.lang.String name)
Method Detail |
public void setUp()
setUp
in class junit.framework.TestCase
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testBasicOptions()
public void testOptionsWithOneOrZeroValues()
public void testOptionsWithCommaDelimitedValues()
public void testOptionsWithRandomlyDelimitedValues()
public void testOptionsWithSpaceDelimitedValues()
public void testCopyTextOptionValue()
public void testCopyOneOptionValue()
public void testCopyJfcOptionValue()
public void testCopyOptionValues()
public static void main(java.lang.String[] args)
args
- standard java command-line arguments; ignored in this case
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |