com.atlassian.confluence.testbatching
Class TestWeightCalculator.TestCounter
java.lang.Object
com.atlassian.confluence.testbatching.TestWeightCalculator.TestCounter
- All Implemented Interfaces:
- TestWeightCalculator
- Enclosing interface:
- TestWeightCalculator
public static class TestWeightCalculator.TestCounter
- extends Object
- implements TestWeightCalculator
A simple TestWeightCalculator implementation which uses the
number of individual tests in the test class as the weight.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestWeightCalculator.TestCounter
public TestWeightCalculator.TestCounter()
calculateTestWeight
public long calculateTestWeight(Class<?> testClass)
- Specified by:
calculateTestWeight in interface TestWeightCalculator
- Returns:
- the calculated "weight" of the given test class. This is a unit-less quantity, and results can only
be compared if they were generated by the same instance of the calculator.
Copyright © 2003–2015 Atlassian. All rights reserved.