|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITaskDispatcher
Responsible for actually performing tasks. Each dispatcher has a 1-1 relationship with an ITestEnvironment.
| Method Summary | |
|---|---|
ITaskResult |
dispatch(TaskNode taskNode,
ITaskResult parentResult,
ITestResult testResult)
Dispatches the task and all nested tasks represented by the Node tree, as available in the API of the current testcase, and using the current dispatch strategy. |
LightestContext |
getContext()
Returns the context object associated with this dispatcher. |
LightestTestCase |
getTestCase()
Returns the testcase this dispatcher is currently assigned to, or null if it is not assigned to a testcase. |
void |
setEnvironment(ITestEnvironment env)
|
void |
setListener(ILightestTestListener listener)
|
void |
setPreferences(IPreferences prefs)
|
void |
setStrategy(ITaskDispatchStrategy strategy)
|
void |
setTestCase(LightestTestCase testcase)
Assigns a testcase to this dispatcher. |
| Method Detail |
|---|
void setPreferences(IPreferences prefs)
void setEnvironment(ITestEnvironment env)
void setStrategy(ITaskDispatchStrategy strategy)
strategy - void setListener(ILightestTestListener listener)
void setTestCase(LightestTestCase testcase)
testcase - LightestTestCase getTestCase()
LightestContext getContext()
ITaskResult dispatch(TaskNode taskNode,
ITaskResult parentResult,
ITestResult testResult)
taskNode - parentResult - testResult -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||