|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.ourgrid.mygrid.ui.command.CommandManagerTest
public class CommandManagerTest
Constructor Summary | |
---|---|
CommandManagerTest()
|
Method Summary | |
---|---|
boolean |
configureEnvironment()
Determines if this command needs to configure environment before being executed |
int |
run(java.lang.String[] params)
Executes the main function of the command that implements this. |
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testAddJob()
|
void |
testConfig()
|
void |
testExecuteCommand()
|
void |
testExecuteCommandWithManyParameters()
|
void |
testInvalidCommand()
|
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 |
Methods inherited from interface junit.framework.Test |
---|
countTestCases, run |
Constructor Detail |
---|
public CommandManagerTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testExecuteCommand() throws java.lang.Exception
java.lang.Exception
public void testExecuteCommandWithManyParameters()
public void testInvalidCommand()
public void testAddJob()
public void testConfig() throws java.lang.Exception
java.lang.Exception
public int run(java.lang.String[] params)
Command
run
in interface Command
public boolean configureEnvironment()
Command
configureEnvironment
in interface Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |