ITestAnnotationFilterReceiver
public interface ITestAnnotationFilterReceiver
com.android.tradefed.testtype.ITestAnnotationFilterReceiver |
Un exécuteur qui peut filtrer les tests à exécuter en fonction des annotations.
Un test sera exécuté IFF il correspond à un ou plusieurs des filtres d'inclusion ET ne correspond à aucun des filtres d'exclusion. Si aucun filtre d'inclusion n'est fourni, tous les tests doivent être exécutés tant qu'ils ne correspondent à aucun des filtres d'exclusion.
Résumé
Méthodes publiques | |
---|---|
abstract void | addAllExcludeAnnotation ( notAnnotations) addAllExcludeAnnotation ( notAnnotations) Ajoute une |
abstract void | addAllIncludeAnnotation ( annotations) addAllIncludeAnnotation ( annotations) Ajoute une |
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 () Supprimez toutes les annotations d'exclusion actuellement suivies. |
abstract void | clearIncludeAnnotations () Supprimez toutes les annotations d'inclusion actuellement suivies. |
abstract | getExcludeAnnotations () Renvoie l' |
abstract | getIncludeAnnotations () Renvoie l' |
Méthodes publiques
addAllExcludeAnnotation
public abstract void addAllExcludeAnnotation (notAnnotations)
Ajoute une ERROR(/Set)
d'annotations à exclure si un test est marqué avec.
Paramètres | |
---|---|
notAnnotations |
addAllIncludeAnnotation
public abstract void addAllIncludeAnnotation (annotations)
Ajoute une ERROR(/Set)
d'annotations à inclure si un test est marqué avec.
Paramètres | |
---|---|
annotations |
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 ()
Supprimez toutes les annotations d'exclusion actuellement suivies.
clearIncludeAnnotations
public abstract void clearIncludeAnnotations ()
Supprimez toutes les annotations d'inclusion actuellement suivies.
getExcludeAnnotations
public abstractgetExcludeAnnotations ()
Renvoie l' ERROR(/Set)
des annotations à exclure.
Retour | |
---|---|
getIncludeAnnotations
public abstractgetIncludeAnnotations ()
Renvoie l' ERROR(/Set)
des annotations à inclure.
Retour | |
---|---|