Interface SuiteBalancer
-
- All Known Implementing Classes:
ExecutionTimeBalancer
,RoundRobinBalancer
public interface SuiteBalancer
A test balancer schedules test suites to be executed on a given JVM.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SuiteBalancer.Assignment
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<SuiteBalancer.Assignment>
assign(java.util.Collection<java.lang.String> suiteNames, int slaves, long seed)
Provide assignments for suite names and a given number of slaves.void
setOwner(JUnit4 owner)
Sets the owner task (for logging mostly).
-
-
-
Method Detail
-
setOwner
void setOwner(JUnit4 owner)
Sets the owner task (for logging mostly).
-
assign
java.util.List<SuiteBalancer.Assignment> assign(java.util.Collection<java.lang.String> suiteNames, int slaves, long seed)
Provide assignments for suite names and a given number of slaves.- Returns:
- Returns an ordered list with assignments. Any suite name not present in the keys of the returned map will be assigned by following balancers (or randomly).
-
-