org.eclipse.test.internal.performance.eval
Interface IEvaluator

All Known Implementing Classes:
EmptyEvaluator, Evaluator

public interface IEvaluator

Since:
3.1

Method Summary
 void evaluate(PerformanceMeter performanceMeter)
          Evaluates the given performance meter by comparing its measurements against the reference data selected with setReferenceFilterProperties.
 void setAssertCheckers(AssertChecker[] asserts)
          Sets the asserts that should be evaluated by the evaluator.
 void setReferenceFilterProperties(java.lang.String driver, java.lang.String timestamp)
          Selects the reference build against which the current session will be compared in evaluate.
 

Method Detail

evaluate

void evaluate(PerformanceMeter performanceMeter)
              throws java.lang.RuntimeException
Evaluates the given performance meter by comparing its measurements against the reference data selected with setReferenceFilterProperties.

Parameters:
performanceMeter - the performance meter
Throws:
java.lang.RuntimeException - when the comparison does not pass

setAssertCheckers

void setAssertCheckers(AssertChecker[] asserts)
Sets the asserts that should be evaluated by the evaluator.

Parameters:
asserts - the assert checkers that should be evaluated by the evaluator

setReferenceFilterProperties

void setReferenceFilterProperties(java.lang.String driver,
                                  java.lang.String timestamp)
Selects the reference build against which the current session will be compared in evaluate.

Parameters:
driver -
timestamp - the timestamp of the reference, may be null to use any