|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFtVerificationPointData
Represents the core abstraction for static and dynamic verification-point data. At this level of verification-point data abstraction, properties are administrative. They are used to manage auxiliary data and to locate associated objects in the software under test.
Method Summary | |
---|---|
int |
compare(java.lang.Object right)
Compares the supplied data to this particular data object. |
ITestObjectDescriptor[] |
find(IScriptDefinition scriptDef, com.rational.test.ft.object.map.ObjectMap objectMap, TestObject anchor)
Locates and returns objects in the software under test that are relative to this verification point. |
ITestObjectDescriptor |
findFirst()
Locates and returns the first unmasked object in the verification-point data. |
IFtVerificationPointData |
getCurrentData(IScriptDefinition scriptDef, com.rational.test.ft.object.map.ObjectMap objectMap, TestObject anchor)
Makes a copy of the existing verification-point object information and reaches out to the objects under test to get the active ITestData . |
ITestData |
getCurrentData(ITestObjectDescriptor target, IScriptDefinition scriptDef, com.rational.test.ft.object.map.ObjectMap objectMap, TestObject anchor)
Returns the active ITestData object for
this verification point. |
ITestData |
getData(ITestObjectDescriptor target)
Returns the ITestData object for this verification point. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Returns a specific property set for this verification point. |
java.lang.String[] |
getPropertyKeys()
Returns an array of property names. |
void |
removeProperty(java.lang.String propertyName)
Removes a specific property for this verification point. |
void |
setData(ITestObjectDescriptor target, ITestData data)
Sets the ITestData object for this verification point. |
void |
setProperty(java.lang.String propertyName, java.lang.Object value)
Sets a specific property for this verification point. |
Method Detail |
---|
ITestObjectDescriptor[] find(IScriptDefinition scriptDef, com.rational.test.ft.object.map.ObjectMap objectMap, TestObject anchor)
ObjectNotFoundException
is thrown. Only active objects are returned;
objects are ignored if they lack relevant test data or have been disabled.
ITestObjectDescriptor findFirst()
int compare(java.lang.Object right)
IFtVerificationPointData getCurrentData(IScriptDefinition scriptDef, com.rational.test.ft.object.map.ObjectMap objectMap, TestObject anchor)
ITestData
. The verification-point type associated with the resulting object is always actual and is persisted as the actual data if the static store
method is called.
ITestData getData(ITestObjectDescriptor target)
ITestData
object for this verification point.
target
- the object in the software under test for which data is gatheredITestData getCurrentData(ITestObjectDescriptor target, IScriptDefinition scriptDef, com.rational.test.ft.object.map.ObjectMap objectMap, TestObject anchor)
ITestData
object for
this verification point. Only one data property is associated with the verification-point
data.
ITestData
for the specified object under evaluationvoid setData(ITestObjectDescriptor target, ITestData data)
ITestData
object for this verification point.
Only one data property is associated with the verification-point data.
data
- the ITestData
object to use for this verification pointjava.lang.Object getProperty(java.lang.String propertyName)
java.util.NoSuchElementException
is thrown if the requested property does not exist. The properties in the property set are administrative properties for finding an object in the software under test and for managing auxiliary data.
propertyName
- the name of the property being located setProperty(String,Object)
,
getPropertyKeys()
void setProperty(java.lang.String propertyName, java.lang.Object value)
#
character in the property name is reserved by the testing environment and should not be used by specific IFtVerificationPointData
implementations.
propertyName
- the name of the property being definedvalue
- the value of the propertygetProperty(String)
void removeProperty(java.lang.String propertyName)
propertyName
- the name of the property being deleted.getProperty(String)
,
setProperty(String,Object)
java.lang.String[] getPropertyKeys()
#
character; you should not directly manipulate them.
getProperty(String)
,
setProperty(String,Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |