IShardableTest

public interface IShardableTest
implements IRemoteTest

com.android.tradefed.testtype.IShardableTest
Known Indirect Subclasses
AndroidJUnitTest A Test that runs an instrumentation test package on given device using the android.support.test.runner.AndroidJUnitRunner. 
HostTest A test runner for JUnit host based tests. 
InstalledInstrumentationsTest Runs all instrumentation found on current device. 
StubTest No-op empty test implementation. 
XmlDefsTest Runs a set of instrumentation test's defined in test_defs.xml files. 


A IRemoteTest that can be split into separately executable sub-tests.

Summary

Public methods

abstract Collection<IRemoteTest> split()

Shard the test into separately runnable chunks.

Public methods

split

Collection<IRemoteTest> split ()

Shard the test into separately runnable chunks.

This will be called before test execution, so injected dependencies (such as the ITestDevice for IDeviceTests) may be null.

Returns
Collection<IRemoteTest> a collection of subtests to be executed separately or null if test is not currently shardable