Verification Point Framework Reference

prevnext

IVerificationPointDataProvider Interface


An implementation of this interface creates a Verification Point Data object based on the verification point metadata in the specialized Verification Point object.

A component implementing this interface is a pluggable link between a Verification Point component (which defines a verification point's metadata) and a Verification Point Data component (which encapsulates and serializes the data for a verification point).

When you implement a Verification Point Data interface 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 interface knows about the structure of both the Verification Point Data interface (which it is building) and the Verification Point interface (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.

An implementation of this interface is used with static verification points (for building expected and actual data objects) and with dynamic verification points (for building actual data objects only).


Overview

Extends IDispatch.


Applicability

Commonly used with QualityArchitect.

QualityArchitect is required for use of this interface.


IVerificationPointDataProvider.CaptureData

This method builds a VerificationPointData object.


Syntax

CaptureData(Object As Variant, VP As IVerificationPoint) As 
IVerificationPointData

Element Description
Object The object-under-test. The first parameter of the PerformTest method provides the contents of this parameter.
VP The IVerificationPoint object that contains the verification point's metadata.


Return Value

An instance of the specialized IVerificationPointData interface populated with the captured data.


Comments

This method captures data according to the metadata in the IVerificationPoint interface. The framework may use the returned IVerificationPointData object as either an expected or an actual data object.

prevnext


Rational Test Script Services for Visual Basic Rational Software Corporation
Copyright (c) 2003, Rational Software Corporation http://www.rational.com
support@rational.com
info@rational.com