org.eclipse.test.internal.performance.eval
Class RelativeBandChecker

java.lang.Object
  extended by org.eclipse.test.internal.performance.eval.AssertChecker
      extended by org.eclipse.test.internal.performance.eval.RelativeBandChecker

public class RelativeBandChecker
extends AssertChecker

Since:
3.1

Constructor Summary
RelativeBandChecker(Dim dimension, double lowerBand, double upperBand)
           
 
Method Summary
 boolean test(StatisticsSession reference, StatisticsSession measured, java.lang.StringBuffer message)
          Evaluates the predicate.
 
Methods inherited from class org.eclipse.test.internal.performance.eval.AssertChecker
getDimensions
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativeBandChecker

public RelativeBandChecker(Dim dimension,
                           double lowerBand,
                           double upperBand)
Method Detail

test

public boolean test(StatisticsSession reference,
                    StatisticsSession measured,
                    java.lang.StringBuffer message)
Description copied from class: AssertChecker
Evaluates the predicate.

Specified by:
test in class AssertChecker
Parameters:
reference - statistics of dimensions of the reference metering session
measured - statistics of dimensions of the metering session to be tested
message - a message presented to the user upon failure
Returns:
true if the predicate passes, false if it fails