java.lang.Object | |
↳ | com.google.gwt.junit.BatchingStrategy |
An interface that specifies how tests should be batched. A single batch should never include tests from more than one module, or the browser will load the new module and lose results from existing tests.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an ordered list of all tests blocks that should be executed for the
specified module.
| |||||||||||
Check if this batching strategy only supports execution of a single test at
a time.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the set of tests for this module, minus tests that should not be
executed.
| |||||||||||
Returns the multiplicative factor for adjusting the timeout.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns an ordered list of all tests blocks that should be executed for the
specified module. Each test block is an array of JUnitHost.TestInfo
.
syntheticModuleName | the name of the synthetic module |
---|
Check if this batching strategy only supports execution of a single test at a time. If this method returns true, test methods will be executed on the client as they are run by JUnit. If it returns false, test methods will be batched and sent to the clients in groups. If you are using a test runner that shards test methods across multiple clients, you should use a strategy that returns false (such as NoBatchingStrategy) or all tests will be executed on all clients.
Get the set of tests for this module, minus tests that should not be executed.
Returns the multiplicative factor for adjusting the timeout. Default value of 1 for no batching.