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 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

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