|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVerificationPoint
IVerficationPoint is the interface provided for counters of type VERIFICATION_POINT.
A VERIFICATION_POINT counter represents the results of a test verification point. A verification point can have four different verdicts: PASS, FAIL, ERROR, and INCONCLUSIVE.
A VERIFICATION_POINT counter keeps a SCALAR sub-counter for each of the different possible verdicts. Incrementing a VERIFICATION_POINT count increments the sub-counter corresponding to the given verdict.
A VERFICATION_POINT's SCALAR counters are only reported if it has been modified in the current reporting interval. When a SCALAR counter is reported it is reset to 0. The workbench treats unreported SCALAR counters as 0.
Method Summary | |
---|---|
void |
increment(int verdict)
Increment the sub-counter SCALAR corresponding the the given verdict event's verdict by 1. |
void |
increment(VerdictEvent verdict)
Increment the sub-counter SCALAR corresponding the the given verdict event's verdict by 1. |
void |
report(VerdictEvent verdict)
Report a TPTP VerdictEvent as a verification point. |
Methods inherited from interface com.ibm.rational.test.lt.kernel.statistics.IStatTree |
---|
getAverage, getAverage, getDistribution, getDistribution, getRange, getRange, getRate, getRate, getScalar, getScalar, getStat, getStatic, getStatic, getStructure, getStructure, getText, getText, getVerificationPoint, getVerificationPoint, makeDefinition, makeObservation, setDescription |
Method Detail |
---|
void increment(int verdict)
If the verdict is not VerdictEvent.PASS this creates and raises an instance of the RPTVPEvent class corresponding to the given verdict. The RPTVPEvent instance does not contain any detail that might be provided by a VerdictEvent.
verdict
- the simple verdict that represents the
verification point results.void increment(VerdictEvent verdict)
If the verdict is not VerdictEvent.PASS this creates and raises an instance of the RPTVPEvent class corresponding to the given verdict. A reference to the VerdictEvent which may contain details of the result is set in the RPTVPEvent instance so that it is available to any defined catchers.
verdict
- the VerdictEvent that represents the
verification point results.void report(VerdictEvent verdict)
VerdictEvents reported by this method contribute to the rollup of verdicts by the parent containers. The sub-counter for the verdict in this instance is incremented.
This is equivalent to but slightly less efficient than calling ITestLogManager.reportVerificationPoint(verdict, this)
verdict
-
|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |