to top
package

com.android.tradefed.testtype

Interfaces

IAbi Interface representing the ABI under test. 
IAbiReceiver A test that needs the ABI under test. 
IBuildReceiver A test that needs reference to the build under test. 
IDeviceTest Interface for object that needs a reference to a ITestDevice
IRemoteTest A test that reports results directly to a ITestInvocationListener
IResumableTest An IRemoteTest that supports resuming a previous aborted test run from where it left off. 
IRetriableTest A IRemoteTest that supports retrying if the test aborted before completion. 
IShardableTest A IRemoteTest that can be split into separately executable sub-tests. 

Classes

CodeCoverageTest A Test that runs an instrumentation test package on a given device and generates the code coverage report. 
CompanionAwareTest Base test class that encapsulates boilerpate of getting and checking companion device

Subclass may call getCompanion() to retrieve the allocated companion. 

DeviceBatteryLevelChecker An ITargetPreparer that checks for a minimum battery charge, and waits for the battery to reach a second charging threshold if the minimum charge isn't present. 
DeviceTestCase Helper JUnit test case that provides the IRemoteTest and IDeviceTest services. 
DeviceTestResult An specialization of TestResult that will abort when a DeviceNotAvailableException occurs  
DeviceTestSuite Helper JUnit test suite that provides the IRemoteTest and IDeviceTest services. 
FakeTest A fake test whose purpose is to make it easy to generate repeatable test results. 
GTest A Test that runs a native test package on given device. 
GTestResultParser Parses the 'raw output mode' results of native tests using GTest that run from shell, and informs a ITestRunListener of the results. 
HostTest A test runner for JUnit host based tests  
InstalledInstrumentationsTest Runs all instrumentation found on current device. 
InstrumentationFileTest Runs a set of instrumentation tests by specifying a list of line separated test classes and methods in a file pushed to device (expected format: com.android.foo.FooClassName#testMethodName)

Note: Requires a runner that supports test execution from a file. 

InstrumentationSerialTest A Test that runs a set of instrumentation tests by running one adb command for per test. 
InstrumentationTest A Test that runs an instrumentation test package on given device. 
JUnitRunUtil A helper class for directing a run(ITestInvocationListener) call to a run(TestResult) call. 
NativeBenchmarkTest A Test that runs a native benchmark test executable on given device. 
NativeBenchmarkTestParser A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation. 
NativeStressTest A Test that runs a native stress test executable on given device. 
NativeStressTestParser A IShellOutputReceiver that parses the stress test data output, collecting metrics on number of iterations complete and average time per iteration. 
StubTest No-op empty test implementation. 
UiAutomatorRunner Runs UI Automator test on device and reports results. 
UiAutomatorTest  

Enums

Exceptions