Methods Summary |
---|
public static void | main(java.lang.String[] args)
final TestRunner runner= new TestRunner();
final TestResult result = runner.doRun(StartDomainCommandTest.suite(), false);
System.exit(result.errorCount() + result.failureCount());
|
private void | nyi()
fail("Not Yet Implemented");
|
protected void | setUp()
final CLIDescriptorsReader cliDescriptorsReader = CLIDescriptorsReader.getInstance();
ValidCommand validCommand = cliDescriptorsReader.getCommand(null);
LocalStringsManagerFactory.setCommandLocalStringsManagerProperties(
CLIDescriptorsReader.getInstance().getProperties());
testCommand = new StartDomainCommand();
testCommand.setName("sampleCommand");
|
public static junit.framework.Test | suite()
TestSuite suite = new TestSuite(StartDomainCommandTest.class);
return suite;
|
protected void | tearDown()
|
public void | testrunCommandNoDomains()
try{
Vector operands = new Vector();
operands.add("UndefinedDomain");
testCommand.setOperands(operands);
testCommand.runCommand();
} catch (Exception e)
{
assertEquals(e.getMessage(), "CLI156 Could not start the domain UndefinedDomain.");
}
|