|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resolver
Interface to provide a general context in which tests are run. Includes ComponentReferences, current gui hierarchy, properties, and a working directory.
Method Summary | |
---|---|
ComponentReference |
addComponent(Component comp)
Add a new component to the existing collection. |
void |
addComponentReference(ComponentReference ref)
Add a new component reference to the existing collection. |
ComponentReference |
getComponentReference(Component comp)
Return the existing reference for the given component, or null if none exists. |
ComponentReference |
getComponentReference(String refid)
Return the ComponentReference matching the given id, or null if none exists. |
Collection |
getComponentReferences()
Returns a collection of all the existing references. |
String |
getContext(Step step)
Provide a human-readable string that describes the given step's context. |
ClassLoader |
getContextClassLoader()
Return the class loader for use in this context. |
File |
getDirectory()
Provide a working directory context for relative pathnames. |
Hierarchy |
getHierarchy()
Get Hierarchy used by this Resolver. |
Object |
getProperty(String name)
Provide retrieval of values from temporary storage. |
void |
setProperty(String name,
Object value)
Provide temporary storage of String values. |
Method Detail |
---|
ComponentReference getComponentReference(Component comp)
ComponentReference addComponent(Component comp)
void addComponentReference(ComponentReference ref)
Collection getComponentReferences()
ComponentReference getComponentReference(String refid)
Hierarchy getHierarchy()
ClassLoader getContextClassLoader()
File getDirectory()
void setProperty(String name, Object value)
Object getProperty(String name)
String getContext(Step step)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |