ITestAnnotationFilterReceiver
public
interface
ITestAnnotationFilterReceiver
com.android.tradefed.testtype.ITestAnnotationFilterReceiver |
A runner that can filter which tests to run based on annotations.
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.
Summary
Public methods | |
---|---|
abstract
void
|
addAllExcludeAnnotation(Set<String> notAnnotations)
Adds a |
abstract
void
|
addAllIncludeAnnotation(Set<String> annotations)
Adds a |
abstract
void
|
addExcludeAnnotation(String notAnnotation)
Adds an annotation to exclude if a tests if marked with it. |
abstract
void
|
addIncludeAnnotation(String annotation)
Adds an annotation to include if a tests if marked with it. |
Public methods
addAllExcludeAnnotation
public abstract void addAllExcludeAnnotation (Set<String> notAnnotations)
Adds a Set
of annotations to exclude if a tests if marked with it.
Parameters | |
---|---|
notAnnotations |
Set |
addAllIncludeAnnotation
public abstract void addAllIncludeAnnotation (Set<String> annotations)
Adds a Set
of annotations to include if a tests if marked with it.
Parameters | |
---|---|
annotations |
Set |
addExcludeAnnotation
public abstract void addExcludeAnnotation (String notAnnotation)
Adds an annotation to exclude if a tests if marked with it.
Parameters | |
---|---|
notAnnotation |
String |
addIncludeAnnotation
public abstract void addIncludeAnnotation (String annotation)
Adds an annotation to include if a tests if marked with it.
Parameters | |
---|---|
annotation |
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
- JacocoCodeCoverageTest
- JUnitRunUtil
- MetricTestCase
- MetricTestCase.LogHolder
- NativeBenchmarkTest
- NativeBenchmarkTestParser
- NativeStressTest
- NativeStressTestParser
- NoisyDryRunTest
- PythonUnitTestResultParser
- PythonUnitTestRunner
- StubTest
- SubprocessTfLauncher
- TfTestLauncher
- UiAutomatorRunner
- UiAutomatorTest
- VersionedTfLauncher
Enums
Exceptions