public class TestCommandContextFactory extends CommandContextFactory
| Constructor and Description |
|---|
TestCommandContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
createContext(Arguments args) |
protected AppContextSetup |
getAppContextSetup() |
CommandRegistry |
getCommandRegistry() |
Console |
getConsole() |
Object |
getError() |
String |
getOutput() |
void |
reset() |
void |
setInput(String input) |
void |
setInputThrowsException(IOException ex) |
getInstance, setInstancepublic CommandContext createContext(Arguments args)
createContext in class CommandContextFactorypublic CommandRegistry getCommandRegistry()
getCommandRegistry in class CommandContextFactoryprotected AppContextSetup getAppContextSetup()
getAppContextSetup in class CommandContextFactorypublic String getOutput()
public void setInput(String input)
public Object getError()
public void reset()
public Console getConsole()
getConsole in class CommandContextFactorypublic void setInputThrowsException(IOException ex)
Copyright © 2012. All Rights Reserved.