|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.testbatching.junitreport.JUnitTestTimeWeightCalculator
public class JUnitTestTimeWeightCalculator
A TestWeightCalculator
which uses the test timings recorded in
JUnit test reports to calculate the "weight" of individual test classes. Tests that take longer to run according to
the report are given a heavier weight.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.confluence.testbatching.TestWeightCalculator |
---|
TestWeightCalculator.TestCounter |
Constructor Summary | |
---|---|
JUnitTestTimeWeightCalculator(JUnitTestTimings testTimings)
|
Method Summary | |
---|---|
long |
calculateTestWeight(java.lang.Class<?> testClass)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JUnitTestTimeWeightCalculator(JUnitTestTimings testTimings)
Method Detail |
---|
public long calculateTestWeight(java.lang.Class<?> testClass)
calculateTestWeight
in interface TestWeightCalculator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |