ITestAnnotationFilterReceiver
public
interface
ITestAnnotationFilterReceiver
| com.android.tradefed.testtype.ITestAnnotationFilterReceiver |
Exécuteur qui peut filtrer les tests à exécuter en fonction des annotations.
Un test sera exécuté s'il correspond à un ou plusieurs filtres d'inclusion ET ne correspond à aucun filtre d'exclusion. Si aucun filtre d'inclusion n'est spécifié, tous les tests doivent être exécutés tant qu'ils ne correspondent à aucun filtre d'exclusion.
Résumé
Méthodes publiques | |
|---|---|
abstract
void
|
addAllExcludeAnnotation(Set<String> notAnnotations)
Ajoute un |
abstract
void
|
addAllIncludeAnnotation(Set<String> annotations)
Ajoute un |
abstract
void
|
addExcludeAnnotation(String notAnnotation)
Ajoute une annotation à exclure si un test est marqué avec. |
abstract
void
|
addIncludeAnnotation(String annotation)
Ajoute une annotation à inclure si un test est marqué avec. |
abstract
void
|
clearExcludeAnnotations()
Supprime toutes les annotations d'exclusion actuellement suivies. |
abstract
void
|
clearIncludeAnnotations()
Supprime toutes les annotations d'inclusion actuellement suivies. |
abstract
Set<String>
|
getExcludeAnnotations()
Renvoie le |
abstract
Set<String>
|
getIncludeAnnotations()
Renvoie le |
Méthodes publiques
addAllExcludeAnnotation
public abstract void addAllExcludeAnnotation (Set<String> notAnnotations)
Ajoute un Set d'annotations à exclure si un test est marqué avec.
| Paramètres | |
|---|---|
notAnnotations |
Set |
addAllIncludeAnnotation
public abstract void addAllIncludeAnnotation (Set<String> annotations)
Ajoute un Set d'annotations à inclure si un test est marqué avec.
| Paramètres | |
|---|---|
annotations |
Set |
addExcludeAnnotation
public abstract void addExcludeAnnotation (String notAnnotation)
Ajoute une annotation à exclure si un test est marqué avec.
| Paramètres | |
|---|---|
notAnnotation |
String |
addIncludeAnnotation
public abstract void addIncludeAnnotation (String annotation)
Ajoute une annotation à inclure si un test est marqué avec.
| Paramètres | |
|---|---|
annotation |
String |
clearExcludeAnnotations
public abstract void clearExcludeAnnotations ()
Supprime toutes les annotations d'exclusion actuellement suivies.
clearIncludeAnnotations
public abstract void clearIncludeAnnotations ()
Supprime toutes les annotations d'inclusion actuellement suivies.
getExcludeAnnotations
public abstract Set<String> getExcludeAnnotations ()
Renvoie le Set actuel d'annotations à exclure.
| Renvoie | |
|---|---|
Set<String> |
|
getIncludeAnnotations
public abstract Set<String> getIncludeAnnotations ()
Renvoie le Set actuel d'annotations à inclure.
| Renvoie | |
|---|---|
Set<String> |
|