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

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

public class AbsoluteBandChecker
extends AssertChecker

Since:
3.1

Constructor Summary
AbsoluteBandChecker(Dim dimension, long lowerBand, long 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

AbsoluteBandChecker

public AbsoluteBandChecker(Dim dimension,
                           long lowerBand,
                           long 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