|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to provide a general context in which tests are run. Includes ComponentReferences, properties, and a filesystem location.
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. |
File |
getDirectory()
Provide a working directory context for relative pathnames. |
String |
getProperty(String name)
Provide retrieval of values from temporary storage. |
String |
getUniqueID(ComponentReference ref)
Derive a unique identifier for the given reference. |
void |
setProperty(String name,
String value)
Provide temporary storage of values. |
Method Detail |
public ComponentReference getComponentReference(String refid)
public ComponentReference getComponentReference(Component comp)
public ComponentReference addComponent(Component comp)
public void addComponentReference(ComponentReference ref)
public String getUniqueID(ComponentReference ref)
public Collection getComponentReferences()
public File getDirectory()
public void setProperty(String name, String value)
public String getProperty(String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |