public class UITestHarness extends Object
CommandController objects for the purpose of unit testing| Constructor 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
Exceptionpublic CommandController createCommandController(String name, Resource<?>... initialSelection) throws Exception
Exceptionpublic CommandController createCommandController(Class<? extends UICommand> commandClass) throws Exception
Exceptionpublic CommandController createCommandController(Class<? extends UICommand> commandClass, Resource<?>... initialSelection) throws Exception
Exceptionpublic WizardCommandController createWizardController(Class<? extends UIWizard> wizardClass) throws Exception
Exceptionpublic WizardCommandController createWizardController(Class<? extends UIWizard> wizardClass, Resource<?>... initialSelection) throws Exception
Exceptionpublic UIProviderImpl getProvider()
Copyright © 2014 JBoss by Red Hat. All rights reserved.