ITestAnnotationFilterReceiver

public interface ITestAnnotationFilterReceiver

com.android.tradefed.testtype.ITestAnnotationFilterReceiver


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

テストは、1 つ以上の包含フィルターに一致し、かつどの除外フィルターにも一致しない場合に実行されます。包含フィルターが指定されていない場合は、どの除外フィルターにも一致しない限り、すべてのテストを実行する必要があります。

まとめ

パブリックメソッド

abstract void addAllExcludeAnnotation ( notAnnotations) addAllExcludeAnnotation ( notAnnotations)

テストにマークが付いている場合に除外する注釈のERROR(/Set)を追加します。

abstract void addAllIncludeAnnotation ( annotations) addAllIncludeAnnotation ( annotations)

テストにマークが付いている場合に含める注釈のERROR(/Set)を追加します。

abstract void addExcludeAnnotation (String notAnnotation)

テストにマークが付いている場合に除外する注釈を追加します。

abstract void addIncludeAnnotation (String annotation)

テストにマークが付いている場合に含める注釈を追加します。

abstract void clearExcludeAnnotations ()

現在追跡されているすべての除外注釈を削除します。

abstract void clearIncludeAnnotations ()

現在追跡されているすべてのインクルードアノテーションを削除します。

abstract getExcludeAnnotations ()

除外する注釈の現在のERROR(/Set)を返します。

abstract getIncludeAnnotations ()

含める注釈の現在のERROR(/Set)を返します。

パブリックメソッド

addAllExcludeAnnotation

public abstract void addAllExcludeAnnotation ( notAnnotations)

テストにマークが付いている場合に除外する注釈のERROR(/Set)を追加します。

パラメーター
notAnnotations

addAllIncludeAnnotation

public abstract void addAllIncludeAnnotation ( annotations)

テストにマークが付いている場合に含める注釈のERROR(/Set)を追加します。

パラメーター
annotations

addExcludeAnnotation

public abstract void addExcludeAnnotation (String notAnnotation)

テストにマークが付いている場合に除外する注釈を追加します。

パラメーター
notAnnotation String

addIncludeAnnotation

public abstract void addIncludeAnnotation (String annotation)

テストにマークが付いている場合に含める注釈を追加します。

パラメーター
annotation String

クリア注釈の除外

public abstract void clearExcludeAnnotations ()

現在追跡されているすべての除外注釈を削除します。

アノテーションを含めるクリア

public abstract void clearIncludeAnnotations ()

現在追跡されているすべてのインクルードアノテーションを削除します。

getExcludeAnnotations

public abstract  getExcludeAnnotations ()

除外する注釈の現在のERROR(/Set)を返します。

戻り値

getIncludeAnnotations

public abstract  getIncludeAnnotations ()

含める注釈の現在のERROR(/Set)を返します。

戻り値