ITestFilterReceiver
public
interface
ITestFilterReceiver
com.android.tradefed.testtype.ITestFilterReceiver |
Known Indirect Subclasses
|
A runner that can filter which tests to run.
A test will be run IFF it matches one or more of the include filters AND does not match any of the exclude filters. If no include filters are given all tests should be run as long as they do not match any of the exclude filters.
The format of the filters is defined by the runner, and could be structured as <package>, <package>.<class>, <package>.<class>#<method> or <native_name>. They can even be regexes.
Summary
Public methods | |
---|---|
abstract
void
|
addAllExcludeFilters(Set<String> filters)
Adds the |
abstract
void
|
addAllIncludeFilters(Set<String> filters)
Adds the |
abstract
void
|
addExcludeFilter(String filter)
Adds a filter of which tests to exclude. |
abstract
void
|
addIncludeFilter(String filter)
Adds a filter of which tests to include. |
Public methods
addAllExcludeFilters
void addAllExcludeFilters (Set<String> filters)
Adds the Set
of filters of which tests to exclude.
Parameters | |
---|---|
filters |
Set |
addAllIncludeFilters
void addAllIncludeFilters (Set<String> filters)
Adds the Set
of filters of which tests to include.
Parameters | |
---|---|
filters |
Set |
addExcludeFilter
void addExcludeFilter (String filter)
Adds a filter of which tests to exclude.
Parameters | |
---|---|
filter |
String |
addIncludeFilter
void addIncludeFilter (String filter)
Adds a filter of which tests to include.
Parameters | |
---|---|
filter |
String |
Interfaces
- CodeCoverageReportFormat
- IAbi
- IAbiReceiver
- IBuildReceiver
- IDeviceTest
- IInvocationContextReceiver
- IMultiDeviceTest
- INativeDeviceTest
- IRemoteTest
- IResumableTest
- IRetriableTest
- IRuntimeHintProvider
- ISetOptionReceiver
- IShardableTest
- IStrictShardableTest
- ITestAnnotationFilterReceiver
- ITestCollector
- ITestFileFilterReceiver
- ITestFilterReceiver
Classes
- Abi
- AndroidJUnitTest
- CodeCoverageListener
- CodeCoverageTest
- CodeCoverageTestBase
- CodeCoverageTestBase.CoverageCollectingListener
- CompanionAwareTest
- DeviceBatteryLevelChecker
- DeviceJUnit4ClassRunner
- DeviceJUnit4ClassRunner.LogAnnotation
- DeviceJUnit4ClassRunner.MetricAnnotation
- DeviceJUnit4ClassRunner.TestLogData
- DeviceJUnit4ClassRunner.TestMetrics
- DeviceSuite
- DeviceTestCase
- DeviceTestResult
- DeviceTestSuite
- FakeTest
- GoogleBenchmarkResultParser
- GoogleBenchmarkTest
- GTest
- GTestListTestParser
- GTestResultParser
- GTestXmlResultParser
- HostTest
- InstalledInstrumentationsTest
- InstrumentationFileTest
- InstrumentationSerialTest
- InstrumentationTest
- InstrumentationTest.FailedTestLogcatGenerator
- InstrumentationTest.FailedTestScreenshotGenerator
- JackCodeCoverageTest
- JacocoCodeCoverageTest
- JUnitRunUtil
- MetricTestCase
- MetricTestCase.LogHolder
- NativeBenchmarkTest
- NativeBenchmarkTestParser
- NativeStressTest
- NativeStressTestParser
- NoisyDryRunTest
- PythonUnitTestResultParser
- PythonUnitTestRunner
- StubTest
- SubprocessTfLauncher
- TfTestLauncher
- UiAutomatorRunner
- UiAutomatorTest
- VersionedTfLauncher
Enums
Exceptions