public abstract class BatchingStrategy extends Object
Constructor and Description |
---|
BatchingStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract List<JUnitHost.TestInfo[]> |
getTestBlocks(String syntheticModuleName)
Returns an ordered list of all tests blocks that should be executed for the
specified module.
|
protected Set<JUnitHost.TestInfo> |
getTestsForModule(String syntheticModuleName)
Get the set of tests for this module, minus tests that should not be
executed.
|
protected int |
getTimeoutMultiplier()
Returns the multiplicative factor for adjusting the timeout.
|
abstract boolean |
isSingleTestOnly()
Check if this batching strategy only supports execution of a single test at
a time.
|
public abstract List<JUnitHost.TestInfo[]> getTestBlocks(String syntheticModuleName)
JUnitHost.TestInfo
.syntheticModuleName
- the name of the synthetic modulepublic abstract boolean isSingleTestOnly()
NoBatchingStrategy
) or all tests will be
executed on all clients.protected final Set<JUnitHost.TestInfo> getTestsForModule(String syntheticModuleName)
protected int getTimeoutMultiplier()
Copyright © 2016. All rights reserved.