ITestAnnotationFilterReceiver

public interface ITestAnnotationFilterReceiver

com.android.tradefed.testtype.ITestAnnotationFilterReceiver


Un runner che può filtrare i test da eseguire in base alle annotazioni.

Un test verrà eseguito se corrisponde a uno o più filtri di inclusione E non corrisponde a nessuno dei filtri di esclusione. Se non vengono specificati filtri di inclusione, tutti i test devono essere eseguiti a condizione che non corrispondano a nessuno dei filtri di esclusione.

Riepilogo

Metodi pubblici

abstract void addAllExcludeAnnotation( notAnnotations)

Aggiunge un ERROR(/Set) di annotazioni da escludere se un test è contrassegnato.

abstract void addAllIncludeAnnotation( annotations)

Aggiunge un ERROR(/Set) di annotazioni da includere se un test è contrassegnato.

abstract void addExcludeAnnotation(String notAnnotation)

Aggiunge un'annotazione da escludere se un test è contrassegnato.

abstract void addIncludeAnnotation(String annotation)

Aggiunge un'annotazione da includere se un test è contrassegnato.

abstract void clearExcludeAnnotations()

Elimina tutte le annotazioni di esclusione attualmente monitorate.

abstract void clearIncludeAnnotations()

Elimina tutte le annotazioni include attualmente monitorate.

abstract getExcludeAnnotations()

Restituisce l'ERROR(/Set) corrente delle annotazioni da escludere.

abstract getIncludeAnnotations()

Restituisce l'ERROR(/Set) corrente delle annotazioni da includere.

Metodi pubblici

addAllExcludeAnnotation

public abstract void addAllExcludeAnnotation ( notAnnotations)

Aggiunge un ERROR(/Set) di annotazioni da escludere se un test è contrassegnato.

Parametri
notAnnotations

addAllIncludeAnnotation

public abstract void addAllIncludeAnnotation ( annotations)

Aggiunge un ERROR(/Set) di annotazioni da includere se un test è contrassegnato.

Parametri
annotations

addExcludeAnnotation

public abstract void addExcludeAnnotation (String notAnnotation)

Aggiunge un'annotazione da escludere se un test è contrassegnato.

Parametri
notAnnotation String

addIncludeAnnotation

public abstract void addIncludeAnnotation (String annotation)

Aggiunge un'annotazione da includere se un test è contrassegnato.

Parametri
annotation String

clearExcludeAnnotations

public abstract void clearExcludeAnnotations ()

Elimina tutte le annotazioni di esclusione attualmente monitorate.

clearIncludeAnnotations

public abstract void clearIncludeAnnotations ()

Elimina tutte le annotazioni include attualmente monitorate.

getExcludeAnnotations

public abstract  getExcludeAnnotations ()

Restituisce l'ERROR(/Set) corrente delle annotazioni da escludere.

Ritorni

getIncludeAnnotations

public abstract  getIncludeAnnotations ()

Restituisce l'ERROR(/Set) corrente delle annotazioni da includere.

Ritorni