to top
public class

StubTest

extends Object
implements IShardableTest
java.lang.Object
   ↳ com.android.tradefed.testtype.StubTest

Class Overview

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

Public Constructors

public StubTest ()

Public Methods

public void run (ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
listener the ITestInvocationListener of test results

public 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