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 .
|
IInvocationContextReceiver | A test that needs reference to the context of the invocation. |
IMultiDeviceTest | This interface is deprecated. This interface is kept temporarily for compatibility but is not actually used anymore. Please do not implement it. |
INativeDeviceTest |
Interface for object that needs a reference to a INativeDevice .
|
IRemoteTest |
A test that reports results directly to a ITestInvocationListener .
|
IReportNotExecuted |
In case of an incomplete execution, IRemoteTest that implements this interface may report
their non-executed tests for improved reporting.
|
IResumableTest | This interface is deprecated. No need for this anymore |
IRuntimeHintProvider | |
ISetOptionReceiver |
Implementation of this interface should have an Option with a "set-option" name linked to
HostTest#SET_OPTION_NAME .
|
IShardableTest |
A IRemoteTest that can be split into separately executable sub-tests.
|
ITestAnnotationFilterReceiver | A runner that can filter which tests to run based on annotations. |
ITestCollector | Provides support for test collection; when set, test runner must perform a dry run to collect test cases without actually executing them. |
ITestFileFilterReceiver | A runner that can receive a file specifying which tests to run and/or not to run. |
ITestFilterReceiver | A runner that can filter which tests to run. |
ITestInformationReceiver |
Interface to receive the TestInformation for some classes.
|
Classes
Abi | A class representing an ABI. |
AndroidJUnitTest | A Test that runs an instrumentation test package on given device using the android.support.test.runner.AndroidJUnitRunner. |
ArtGTest | |
ArtRunTest | A test runner to run ART run-tests. |
ArtRunTest.AdbShellCommandException | An exception class to report an error that occurred during the execution of an ADB shell command. |
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 |
DeviceBatteryLevelChecker |
An IRemoteTest 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.
|
DeviceJUnit4ClassRunner |
JUnit4 test runner that also accommodates IDeviceTest .
|
DeviceJUnit4ClassRunner.LogAnnotation | Fake annotation meant to carry logs to the reporters. |
DeviceJUnit4ClassRunner.MetricAnnotation | Fake annotation meant to carry metrics to the reporters. |
DeviceJUnit4ClassRunner.TestLogData |
Implementation of ExternalResource and TestRule .
|
DeviceJUnit4ClassRunner.TestMetrics |
Implementation of ExternalResource and TestRule .
|
DeviceSuite |
Extends the JUnit4 container Suite in order to provide a ITestDevice to the tests
that requires it.
|
DeviceTestCase |
Helper JUnit test case that provides the IRemoteTest and IDeviceTest services.
|
DeviceTestResult |
An specialization of TestResult that will abort when a
DeviceNotAvailableException occurs
|
DeviceTestResult.RuntimeDeviceNotAvailableException | |
DeviceTestSuite |
Helper JUnit test suite that provides the IRemoteTest and IDeviceTest services.
|
DynamicFileStubTest | This is a tradefed test to test tradefed can resolve dynamic file correctly. |
FakeTest | A fake test whose purpose is to make it easy to generate repeatable test results. |
GoogleBenchmarkResultParser | Parses the results of Google Benchmark that run from shell, and return a map with all the results. |
GoogleBenchmarkTest | A Test that runs a Google benchmark test package on given device. |
GTest | A Test that runs a native test package on given device. |
GTestBase | The base class of gTest |
GTestListTestParser | A result parser for gtest dry run mode with "--gtest_list_tests" parameter. |
GTestResultParser | Parses the 'raw output mode' results of native tests using GTest that run from shell, and informs a ITestInvocationListener of the results. |
GTestXmlResultParser | Parses the 'xml output mode' results of native tests using GTest that run from shell, and informs a ITestRunListener of the results. |
HostGTest | A Test that runs a native test package. |
HostTest | A test runner for JUnit host based tests. |
InstalledInstrumentationsTest | Runs all instrumentation found on current device. |
InstrumentationTest | A Test that runs an instrumentation test package on given device. |
IsolatedHostTest | Implements a TradeFed runner that uses a subprocess to execute the tests in a low-dependency environment instead of executing them on the main process. |
JUnitRunUtil |
A helper class for directing a IRemoteTest#run(TestInformation, ITestInvocationListener)
call to a Test#run(TestResult) call.
|
MetricTestCase |
Extension of TestCase that allows to log metrics when running as part of TradeFed.
|
MetricTestCase.LogHolder | Structure to hold a log file to be reported. |
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.
|
NoisyDryRunTest | Run noisy dry run on a command file. |
PythonUnitTestResultParser |
Interprets the output of tests run with Python's unittest framework and translates it into calls
on a series of ITestInvocationListener s.
|
PythonUnitTestRunner |
This class is deprecated.
Use PythonBinaryHostTest instead.
|
StubTest | No-op empty test implementation. |
SubprocessTfLauncher |
A IRemoteTest for running tests against a separate TF installation.
|
TestTimeoutEnforcer | Listeners that allows to check the execution time of a given test case and fail it if it goes over a given timeout. |
TfTestLauncher |
A IRemoteTest for running unit or functional tests against a separate TF installation.
|
UiAutomatorRunner | Runs UI Automator test on device and reports results. |
UiAutomatorTest | |
UsbResetTest |
An IRemoteTest that reset the device USB and checks whether the device comes back online
afterwards.
|
Enums
UiAutomatorTest.LoggingOption | |
UiAutomatorTest.TestFailureAction |
Interfaces
- IAbi
- IAbiReceiver
- IBuildReceiver
- IDeviceTest
- IInvocationContextReceiver
- IMultiDeviceTest
- INativeDeviceTest
- IRemoteTest
- IReportNotExecuted
- IResumableTest
- IRuntimeHintProvider
- ISetOptionReceiver
- IShardableTest
- ITestAnnotationFilterReceiver
- ITestCollector
- ITestFileFilterReceiver
- ITestFilterReceiver
- ITestInformationReceiver
Classes
- Abi
- AndroidJUnitTest
- ArtGTest
- ArtRunTest
- ArtRunTest.AdbShellCommandException
- CodeCoverageTest
- CompanionAwareTest
- DeviceBatteryLevelChecker
- DeviceJUnit4ClassRunner
- DeviceJUnit4ClassRunner.LogAnnotation
- DeviceJUnit4ClassRunner.MetricAnnotation
- DeviceJUnit4ClassRunner.TestLogData
- DeviceJUnit4ClassRunner.TestMetrics
- DeviceSuite
- DeviceTestCase
- DeviceTestResult
- DeviceTestResult.RuntimeDeviceNotAvailableException
- DeviceTestSuite
- DynamicFileStubTest
- FakeTest
- GoogleBenchmarkResultParser
- GoogleBenchmarkTest
- GTest
- GTestBase
- GTestListTestParser
- GTestResultParser
- GTestXmlResultParser
- HostGTest
- HostTest
- InstalledInstrumentationsTest
- InstrumentationTest
- IsolatedHostTest
- JUnitRunUtil
- MetricTestCase
- MetricTestCase.LogHolder
- NativeBenchmarkTest
- NativeBenchmarkTestParser
- NativeStressTest
- NativeStressTestParser
- NoisyDryRunTest
- PythonUnitTestResultParser
- PythonUnitTestRunner
- StubTest
- SubprocessTfLauncher
- TestTimeoutEnforcer
- TfTestLauncher
- UiAutomatorRunner
- UiAutomatorTest
- UsbResetTest
Enums