public interface IFtVerificationPointImage
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object right)
Compares the supplied data to this particular
data object.
|
ITestObjectDescriptor[] |
find(IScriptDefinition scriptDef,
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.
|
IFtVerificationPointImage |
getCurrentImage(IScriptDefinition scriptDef,
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 |
getCurrentImage(ITestObjectDescriptor target,
IScriptDefinition scriptDef,
ObjectMap objectMap,
TestObject anchor)
Returns the active
ITestData object for
this verification point. |
ITestData |
getImage(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 |
setImage(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.
|
ITestObjectDescriptor[] find(IScriptDefinition scriptDef, 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)
IFtVerificationPointImage getCurrentImage(IScriptDefinition scriptDef, 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 getImage(ITestObjectDescriptor target)
ITestData
object for this verification point.target
- the object in the software under test for which data is gatheredITestData getCurrentImage(ITestObjectDescriptor target, IScriptDefinition scriptDef, 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 setImage(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 locatedsetProperty(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)