com.carrotsearch.ant.tasks.junit4
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
static class SuiteBalancer.Assignment
           
 
Method Summary
 List<SuiteBalancer.Assignment> assign(Collection<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

List<SuiteBalancer.Assignment> assign(Collection<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).


Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.