StubTest

public class StubTest
extends Object implements IShardableTest

java.lang.Object
   ↳ com.android.tradefed.testtype.StubTest


No-op empty test implementation.

Summary

Public constructors

StubTest()

Public methods

void run(ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Collection<IRemoteTest> split()

Shard the test into separately runnable chunks.

Public constructors

StubTest

StubTest ()

Public methods

run

void run (ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
listener ITestInvocationListener: the ITestInvocationListener of test results

Throws
DeviceNotAvailableException

split

Collection<IRemoteTest> split ()

Shard the test into separately runnable chunks.

This must be deterministic and always return the same list of IRemoteTests for the same input.

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