Verification Point Framework Reference |
An implementation of this class creates a Verification Point Data object based on the verification point metadata in the specialized Verification Point object.
A class implementing this interface is a pluggable link between a Verification Point class, which defines a verification point's metadata, and a Verification Point Data class, which encapsulates and serializes the data for a verification point.
When you implement a Verification Point Data class from this interface, you implement the captureData()
method for populating a Verification Point Data object for a given Verification Point object. The Verification Point Data Provider class knows about the structure of both the Verification Point Data class, which it is building, and the Verification Point class, which specifies the data to capture.
This is an important abstraction for general types of verification points (such as object data or object properties) where many different objects may provide access to the same type of data.
An implementation of this interface can be plugged into an existing verification point implementation to provide verification point data from a new verification point data source.
You can use an implementation of this interface with static verification points (for building expected and actual data objects) and with dynamic verification points (for building actual data objects only).
public interface VerificationPointDataProvider Known implementing class: DatabaseVPDataProvider
Commonly used with QualityArchitect.
This interface requires QualityArchitect.
Builds a VerificationPointData
object.
public VerificationPointDatacaptureData
(java.lang.ObjecttheObject
, VerificationPointtheVP
)
This method returns an instance of the specialized VerificationPointData
class populated with the captured data.
This method captures data according to the metadata in the VerificationPoint
class. The verification point framework can use the returned VerificationPointData
object as either an expected or an actual data object.
Rational Test Script Services for Java | Rational Software Corporation |
Copyright (c) 2003, Rational Software Corporation | http://www.rational.com support@rational.com info@rational.com |