org.eclipse.test.internal.performance.eval
Class AssertChecker
java.lang.Object
org.eclipse.test.internal.performance.eval.AssertChecker
- Direct Known Subclasses:
- AbsoluteBandChecker, RelativeBandChecker
public abstract class AssertChecker
- extends java.lang.Object
- Since:
- 3.1
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertChecker
public AssertChecker(Dim dimension)
AssertChecker
public AssertChecker(Dim[] dimensions)
getDimensions
public Dim[] getDimensions()
test
public abstract boolean test(StatisticsSession reference,
StatisticsSession measured,
java.lang.StringBuffer message)
- Evaluates the predicate.
- Parameters:
reference
- statistics of dimensions of the reference metering sessionmeasured
- statistics of dimensions of the metering session to be testedmessage
- a message presented to the user upon failure
- Returns:
true
if the predicate passes, false
if it fails