ITestAnnotationFilterReceiver

public interface ITestAnnotationFilterReceiver

com.android.tradefed.testtype.ITestAnnotationFilterReceiver
Known Indirect Subclasses
AndroidJUnitTest A Test that runs an instrumentation test package on given device using the android.support.test.runner.AndroidJUnitRunner. 
DeviceTestCase Helper JUnit test case that provides the IRemoteTest and IDeviceTest services. 
HostTest A test runner for JUnit host based tests. 


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 Set of annotations to exclude if a tests if marked with it.

abstract void addAllIncludeAnnotation(Set<String> annotations)

Adds a Set of annotations to include if a tests if marked with it.

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

void addAllExcludeAnnotation (Set<String> notAnnotations)

Adds a Set of annotations to exclude if a tests if marked with it.

Parameters
notAnnotations Set

addAllIncludeAnnotation

void addAllIncludeAnnotation (Set<String> annotations)

Adds a Set of annotations to include if a tests if marked with it.

Parameters
annotations Set

addExcludeAnnotation

void addExcludeAnnotation (String notAnnotation)

Adds an annotation to exclude if a tests if marked with it.

Parameters
notAnnotation String

addIncludeAnnotation

void addIncludeAnnotation (String annotation)

Adds an annotation to include if a tests if marked with it.

Parameters
annotation String