|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Test Case for running XML Script based testing.
Method Summary | |
void |
addProcedure(IXMLProcedure proc)
Adds a XML Procedure to the test sutie. |
void |
addProperty(java.lang.String name,
java.lang.Object obj)
Add each found object into the cache map. |
void |
clearProperties()
For each test (method) element, the found objects has to be cleared. |
boolean |
getDebug()
get the debug state. |
IXMLProcedure |
getProcedure(java.lang.String name)
Get the XML procedure by the name given. |
XMLObjectCache |
getProcedureCache()
Retrun the cache of procedures. |
java.lang.Object |
getProperty(java.lang.String name)
Retrieve the object that was found previously. |
XMLObjectCache |
getPropertyCache()
Get the Found object cache. |
java.lang.String |
getPropertyName(java.lang.Object comp)
Retrieve the name of a object which was previously found. |
java.lang.String[] |
getPropertyNames()
Get the names of the found objects. |
void |
removeProperty(java.lang.String name)
Remove the property by name. |
java.lang.String |
resolveProperties(java.lang.String value)
Resolve embeded property values. |
void |
setParent(IXMLTest parent)
set the Parent test case. |
Methods inherited from interface junit.framework.Test |
countTestCases, run |
Method Detail |
public boolean getDebug()
public void setParent(IXMLTest parent)
parent
- Parent test case.public IXMLProcedure getProcedure(java.lang.String name)
name
- Name of the procedure.
public XMLObjectCache getProcedureCache()
public java.lang.Object getProperty(java.lang.String name)
name
- The name of the object that was found.
public XMLObjectCache getPropertyCache()
public java.lang.String getPropertyName(java.lang.Object comp)
comp
- Component which is to be found.
public java.lang.String[] getPropertyNames()
public void addProcedure(IXMLProcedure proc)
proc
- Procedure to be added.public void addProperty(java.lang.String name, java.lang.Object obj)
name
- The name of the found object.obj
- The actual object that was found.public void clearProperties()
public void removeProperty(java.lang.String name)
name
- Name of the property to be removed.public java.lang.String resolveProperties(java.lang.String value)
value
- Value which may contain properties
to be resolved.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |