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, setInstance
public CommandContext createContext(Arguments args)
createContext
in class CommandContextFactory
public CommandRegistry getCommandRegistry()
getCommandRegistry
in class CommandContextFactory
protected AppContextSetup getAppContextSetup()
getAppContextSetup
in class CommandContextFactory
public String getOutput()
public void setInput(String input)
public Object getError()
public void reset()
public Console getConsole()
getConsole
in class CommandContextFactory
public void setInputThrowsException(IOException ex)
Copyright © 2012. All Rights Reserved.