to top
public interface

IShardableTest

implements IRemoteTest
com.android.tradefed.testtype.IShardableTest
Known Indirect Subclasses

Class Overview

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.
[Expand]
Inherited Methods
From interface com.android.tradefed.testtype.IRemoteTest

Public Methods

public abstract 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
  • a collection of subtests to be executed separately or null if test is not currently shardable