Starting March 27, 2025, we recommend using android-latest-release instead of aosp-main to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
StubTest
public
class
StubTest
extends Object
implements
IShardableTest,
IConfigurationReceiver,
IAbiReceiver
| java.lang.Object
|
| ↳ |
com.android.tradefed.testtype.StubTest
|
No-op empty test implementation.
Summary
Fields
DNAE_MESSAGE
public static final String DNAE_MESSAGE
Public constructors
StubTest
public StubTest ()
Public methods
getAbi
public IAbi getAbi ()
getRunTest
public boolean getRunTest ()
public void run (TestInformation testInfo,
ITestInvocationListener listener)
| Parameters |
testInfo |
TestInformation |
listener |
ITestInvocationListener |
| Throws |
DeviceNotAvailableException |
|
setAbi
public void setAbi (IAbi abi)
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injects the IConfiguration in use.
| Parameters |
configuration |
IConfiguration |
split
public 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 |
|
a collection of subtests to be executed separately or null if test is
not currently shardable
|
toString
public String toString ()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-08-03 UTC."],[],[]]