Database Verification Point Reference |
This class implements a renderer for any class that implements the DataTable
interface.
The renderer creates a JDialog containing a scrollable JTable with the data from the supplied DatabaseVPData
object.
If no expected data object exists in the datastore and the OPTION_USER_ACKNOWLEDGE_BASELINE
option is set in the test script, the verification point framework invokes the displayAndValidateData()
method in this class. This method lets the tester interactively accept or reject the displayed data as the baseline (expected) data for a static verification point.
public class DatabaseVPDataRenderer extends java.lang.Object implements com.rational.test.vp.VerificationPointDataRenderer java.lang.Object | +--com.rational.test.vp.DatabaseVPDataRenderer
Commonly used with QualityArchitect.
This class requires QualityArchitect.
This class contains the following method:
displayAndValidateData()
Presents the tester with a visual representation of the data object as it exists before the expected (baseline) data is stored for this static verification point.
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
public DatabaseVPDataRenderer
()
Presents the tester with a visual representation of the data object as it exists before the expected (baseline) data is stored for this static verification point.
public booleandisplayAndValidateData
(VerificationPointDatavpdData
)
vpdData
The data to present to the tester for confirmation.
true
if the tester accepts the displayed data, or false
if the tester rejects the data.
This method is specified by displayAndValidateData()
in the VerificationPointDataRenderer
interface .
The verification point framework invokes this method when the following conditions exist:
OPTION_USER_ACKNOWLEDGE_BASELINE
option in the setOptions()
method of the Verification Point class.
performTest()
method of the Verification Point class for a static verification point.
When the method is invoked, it presents the tester with a visual representation of the data, and allows the tester to accept or reject the data:
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 |