public interface Metric
Harness| Modifier and Type | Method and Description |
|---|---|
boolean |
biggerIsBetter()
Deprecated.
Whether a big result is better for this metric.
|
double |
run(Product product,
java.lang.Object object)
Deprecated.
since 1.3
|
double |
run(Product product,
Target target)
Deprecated.
Run the test and produce a metric.
|
java.lang.String |
unit()
Deprecated.
The unit the metric is recorded in (for reporting purposes).
|
double run(Product product, java.lang.Object object) throws java.lang.Exception
product - Product to use in test.object - A object to use against the product.java.lang.Exception - If this metric could not be obtained. This will
be reported back to the Reporter.double run(Product product, Target target) throws java.lang.Exception
product - Product to use in test.target - A target to use against the product.java.lang.Exception - If this metric could not be obtained. This will
be reported back to the Reporter.java.lang.String unit()
boolean biggerIsBetter()
Copyright © 2004–2020 XStream. All rights reserved.