Google is committed to advancing racial equity for Black communities. See how.

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( notAnnotations)

Adds a ERROR(/Set) of annotations to exclude if a tests if marked with it.

abstract void addAllIncludeAnnotation( annotations)

Adds a ERROR(/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.

abstract void clearExcludeAnnotations()

Delete all the exclude annotations currently tracked.

abstract void clearIncludeAnnotations()

Delete all the include annotations currently tracked.

abstract getExcludeAnnotations()

Returns the current ERROR(/Set) of annotations to exclude.

abstract getIncludeAnnotations()

Returns the current ERROR(/Set) of annotations to include.

Public methods

addAllExcludeAnnotation

public abstract void addAllExcludeAnnotation ( notAnnotations)

Adds a ERROR(/Set) of annotations to exclude if a tests if marked with it.

Parameters
notAnnotations

addAllIncludeAnnotation

public abstract void addAllIncludeAnnotation ( annotations)

Adds a ERROR(/Set) of annotations to include if a tests if marked with it.

Parameters
annotations

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

clearExcludeAnnotations

public abstract void clearExcludeAnnotations ()

Delete all the exclude annotations currently tracked.

clearIncludeAnnotations

public abstract void clearIncludeAnnotations ()

Delete all the include annotations currently tracked.

getExcludeAnnotations

public abstract  getExcludeAnnotations ()

Returns the current ERROR(/Set) of annotations to exclude.

Returns

getIncludeAnnotations

public abstract  getIncludeAnnotations ()

Returns the current ERROR(/Set) of annotations to include.

Returns