org.junit.runner
Class Computer

java.lang.Object
  extended by org.junit.runner.Computer
Direct Known Subclasses:
ParallelComputer

public class Computer
extends Object

Represents a strategy for computing runners and suites. WARNING: this class is very likely to undergo serious changes in version 4.8 and beyond.


Constructor Summary
Computer()
           
 
Method Summary
 Runner getSuite(RunnerBuilder builder, Class<?>[] classes)
          Create a suite for classes, building Runners with builder.
static Computer serial()
          Returns a new default computer, which runs tests in serial order
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Computer

public Computer()
Method Detail

serial

public static Computer serial()
Returns a new default computer, which runs tests in serial order


getSuite

public Runner getSuite(RunnerBuilder builder,
                       Class<?>[] classes)
                throws InitializationError
Create a suite for classes, building Runners with builder. Throws an InitializationError if Runner construction fails

Throws:
InitializationError