public class UITestHarness extends Object
CommandController
objects for the purpose of unit testingConstructor and Description |
---|
UITestHarness() |
Modifier and Type | Method and Description |
---|---|
CommandController |
createCommandController(Class<? extends UICommand> commandClass) |
CommandController |
createCommandController(Class<? extends UICommand> commandClass,
Resource<?>... initialSelection) |
CommandController |
createCommandController(String name) |
CommandController |
createCommandController(String name,
Resource<?>... initialSelection) |
WizardCommandController |
createWizardController(Class<? extends UIWizard> wizardClass) |
WizardCommandController |
createWizardController(Class<? extends UIWizard> wizardClass,
Resource<?>... initialSelection) |
Map<String,String> |
getPromptResults()
The
Map is based on the key being a regular expression to the prompt message |
UIProviderImpl |
getProvider() |
public CommandController createCommandController(String name) throws Exception
Exception
public CommandController createCommandController(String name, Resource<?>... initialSelection) throws Exception
Exception
public CommandController createCommandController(Class<? extends UICommand> commandClass) throws Exception
Exception
public CommandController createCommandController(Class<? extends UICommand> commandClass, Resource<?>... initialSelection) throws Exception
Exception
public WizardCommandController createWizardController(Class<? extends UIWizard> wizardClass) throws Exception
Exception
public WizardCommandController createWizardController(Class<? extends UIWizard> wizardClass, Resource<?>... initialSelection) throws Exception
Exception
public UIProviderImpl getProvider()
Copyright © 2014 JBoss by Red Hat. All rights reserved.