|
Rational QualityArchitect/Java API Version 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rational.test.vp.DatabaseVPDataRenderer
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 framework invokes the displayAndValidateData()
method in this class. This method in this class lets the tester
interactively accept or reject the displayed
data as the baseline (expected) data for a
static verification point.
DatabaseVP
,
DatabaseVPData
,
DatabaseVPComparator
,
DatabaseVPDataProvider
Constructor Summary | |
DatabaseVPDataRenderer()
|
Method Summary | |
boolean |
displayAndValidateData(VerificationPointData vpdData,
java.lang.String sVPName)
This method 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DatabaseVPDataRenderer()
Method Detail |
public boolean displayAndValidateData(VerificationPointData vpdData, java.lang.String sVPName)
VerificationPointDataRenderer
This method 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.
This method is invoked by the verification point framework 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:
displayAndValidateData
in interface VerificationPointDataRenderer
com.rational.test.vp.VerificationPointDataRenderer
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.
|
30-Jun-2003 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |