|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UIContext
Provides generic support to set up and tear down a UI context or fixture.
| Method Summary | |
|---|---|
boolean |
equivalent(UIContext context)
|
ClassLoader |
getContextClassLoader()
|
Hierarchy |
getHierarchy()
A context must maintain the same Hierarchy for the lifetime of
the fixture. |
boolean |
isLaunched()
|
void |
launch(StepRunner runner)
Launch this context. |
void |
terminate()
Terminate this context. |
| Method Detail |
|---|
ClassLoader getContextClassLoader()
ClassLoader providing access to classes in this
context.
void launch(StepRunner runner)
throws Throwable
UIContext is extant,
this UIContext should terminate it before launching.
If this context is already launched, this method
should do nothing.
Throwableboolean isLaunched()
UIContext is currently launched.void terminate()
Hierarchy returned by getHierarchy()
will be disposed.
boolean equivalent(UIContext context)
UIContext is equivalent to another.Hierarchy getHierarchy()
Hierarchy for the lifetime of
the fixture.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||