|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
au.csiro.netcdf.TestCommandLineRunner
public class TestCommandLineRunner
This class is a unit test suite to verify that the NetCDFTool
operates correctly.
Copyright 2010, CSIRO Australia All rights reserved.
Nested Class Summary | |
---|---|
protected static class |
TestCommandLineRunner.ExitException
Exit exception used for catching system exits. |
Constructor Summary | |
---|---|
TestCommandLineRunner()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testMainMethodInvalidCommand()
Test execution of the main method with an invalid command. |
void |
testMainMethodValidCommandInvalidArgs()
Test execution of the main method with a valid command but with invalid arguments. |
void |
testMainMethodValidCommandValidArgsInvalidContents()
Test execution of the main method with a valid command and valid arguments but invalid contents. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestCommandLineRunner()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public final void testMainMethodInvalidCommand()
public final void testMainMethodValidCommandInvalidArgs()
public final void testMainMethodValidCommandValidArgsInvalidContents() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |