public final class TestStatisticsQueries extends Object
Modifier and Type | Method and Description |
---|---|
double |
getAverageTestTime(StatisticsSet statistics)
Return the value obtained by dividing the timedTests sample
statistics total attribute by its count attribute.
|
long |
getNumberOfErrors(StatisticsSet statistics)
Return the value of the errors statistic.
|
long |
getNumberOfTests(StatisticsSet statistics)
Return the number of tests.
|
public long getNumberOfTests(StatisticsSet statistics)
statistics
- The statistics to query.long
valuepublic long getNumberOfErrors(StatisticsSet statistics)
statistics
- The statistics to query.long
valuepublic double getAverageTestTime(StatisticsSet statistics)
statistics
- The statistics to query.double
valueCopyright © 2000-2014. All Rights Reserved.