全域測試篩選器

public final class GlobalTestFilter
extends Object

java.lang.Object
   ↳ com.android.tradefed.config.filter.GlobalTestFilter


套用至叫用的篩選器選項。

摘要

欄位

public static final String DELIMITER_NAME

public static final String EXCLUDE_FILTER_OPTION

public static final String INCLUDE_FILTER_OPTION

public static final String STRICT_INCLUDE_FILTER_OPTION

公用建構函式

GlobalTestFilter()

公用方法

void addPreviousPassedTests( previousPassed)
void applyFiltersToTest(ITestFilterReceiver filterableTest)

將全域篩選器套用至測試。

void applyFiltersToTest(BaseTestSuite suite)

將全域篩選器套用至套件

getExcludeFilters()

傳回一組全域排除篩選器。

getIncludeFilters()

傳回「全域包含」篩選器組合。

getStrictIncludeFilters()

傳回「全域嚴格包含」篩選器的集合。

void setUpFilters(IConfiguration config, demotedList)

將全域篩選器傳遞至測試,以初始化此篩選器。

欄位

開始使用{0/}

public static final String DELIMITER_NAME

排除篩選器

public static final String EXCLUDE_FILTER_OPTION

納入篩選器

public static final String INCLUDE_FILTER_OPTION

STRICT_INCLUDE_FILTER_OPTION

public static final String STRICT_INCLUDE_FILTER_OPTION

公用建構函式

全域測試篩選器

public GlobalTestFilter ()

公用方法

addPreviousPassedTests

public void addPreviousPassedTests ( previousPassed)

參數
previousPassed

applyFiltersToTest

public void applyFiltersToTest (ITestFilterReceiver filterableTest)

將全域篩選器套用至測試。

參數
filterableTest ITestFilterReceiver

applyFiltersToTest

public void applyFiltersToTest (BaseTestSuite suite)

將全域篩選器套用至套件

參數
suite BaseTestSuite

取得排除篩選器

public  getExcludeFilters ()

傳回一組全域排除篩選器。

傳回

getIncludeFilters

public  getIncludeFilters ()

傳回「全域包含」篩選器組合。

傳回

getStrictIncludeFilters

public  getStrictIncludeFilters ()

傳回「全域嚴格包含」篩選器的集合。

傳回

設定篩選器

public void setUpFilters (IConfiguration config, 
                 demotedList)

將全域篩選器傳遞至測試,以初始化此篩選器。

參數
config IConfiguration

demotedList