ITestAnnotationFilterReceiver

public interface ITestAnnotationFilterReceiver

com.android.tradefed.testtype.ITestAnnotationFilterReceiver


アノテーションに基づいて実行するテストをフィルタリングできるランナー。

テストは、1 つ以上の include フィルタと一致し、かつ、いずれの exclude フィルタとも一致しない場合に実行されます。include フィルタが指定されていない場合は、いずれの exclude フィルタとも一致しない限り、すべてのテストが実行されます。

概要

パブリック メソッド

abstract void addAllExcludeAnnotation(Set<String> notAnnotations)

テストにマークされている場合に除外するアノテーションの Set を追加します。

abstract void addAllIncludeAnnotation(Set<String> annotations)

テストがマークされている場合に含めるアノテーションの Set を追加します。

abstract void addExcludeAnnotation(String notAnnotation)

テストにマークが付いている場合、除外するアノテーションを追加します。

abstract void addIncludeAnnotation(String annotation)

テストにマークが付いている場合に含めるアノテーションを追加します。

abstract void clearExcludeAnnotations()

現在トラッキングされている除外アノテーションをすべて削除します。

abstract void clearIncludeAnnotations()

現在トラッキングされているすべてのインクルード アノテーションを削除します。

abstract Set<String> getExcludeAnnotations()

除外するアノテーションの現在の Set を返します。

abstract Set<String> getIncludeAnnotations()

含めるアノテーションの現在の Set を返します。

パブリック メソッド

addAllExcludeAnnotation

public abstract void addAllExcludeAnnotation (Set<String> notAnnotations)

テストにマークされている場合に除外するアノテーションの Set を追加します。

パラメータ
notAnnotations Set

addAllIncludeAnnotation

public abstract void addAllIncludeAnnotation (Set<String> annotations)

テストがマークされている場合に含めるアノテーションの Set を追加します。

パラメータ
annotations Set

addExcludeAnnotation

public abstract void addExcludeAnnotation (String notAnnotation)

テストにマークが付いている場合に除外するアノテーションを追加します。

パラメータ
notAnnotation String

addIncludeAnnotation

public abstract void addIncludeAnnotation (String annotation)

テストにマークが付いている場合に含めるアノテーションを追加します。

パラメータ
annotation String

clearExcludeAnnotations

public abstract void clearExcludeAnnotations ()

現在トラッキングされている除外アノテーションをすべて削除します。

clearIncludeAnnotations

public abstract void clearIncludeAnnotations ()

現在トラッキングされているインクルード アノテーションをすべて削除します。

getExcludeAnnotations

public abstract Set<String> getExcludeAnnotations ()

除外するアノテーションの現在の Set を返します。

戻り値
Set<String>

getIncludeAnnotations

public abstract Set<String> getIncludeAnnotations ()

含めるアノテーションの現在の Set を返します。

戻り値
Set<String>