GlobalTestFilter

public final class GlobalTestFilter
extends Object

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


Filter options applied to the invocation.

Summary

Fields

public static final String EXCLUDE_FILTER_OPTION

public static final String INCLUDE_FILTER_OPTION

public static final String STRICT_INCLUDE_FILTER_OPTION

Public constructors

GlobalTestFilter()

Public methods

void addPreviousPassedTests( previousPassed)
void applyFiltersToTest(ITestFilterReceiver filterableTest)

Apply the global filters to the test.

void applyFiltersToTest(BaseTestSuite suite)

Apply global filters to the suite

getExcludeFilters()

Returns the Set of global exclude filters.

getIncludeFilters()

Returns the Set of global include filters.

getStrictIncludeFilters()

Returns the Set of global strict include filters.

void setUpFilters(IConfiguration config)

Initialize the global filters by passing them to the tests.

Fields

EXCLUDE_FILTER_OPTION

public static final String EXCLUDE_FILTER_OPTION

INCLUDE_FILTER_OPTION

public static final String INCLUDE_FILTER_OPTION

STRICT_INCLUDE_FILTER_OPTION

public static final String STRICT_INCLUDE_FILTER_OPTION

Public constructors

GlobalTestFilter

public GlobalTestFilter ()

Public methods

addPreviousPassedTests

public void addPreviousPassedTests ( previousPassed)

Parameters
previousPassed

applyFiltersToTest

public void applyFiltersToTest (ITestFilterReceiver filterableTest)

Apply the global filters to the test.

Parameters
filterableTest ITestFilterReceiver

applyFiltersToTest

public void applyFiltersToTest (BaseTestSuite suite)

Apply global filters to the suite

Parameters
suite BaseTestSuite

getExcludeFilters

public  getExcludeFilters ()

Returns the Set of global exclude filters.

Returns

getIncludeFilters

public  getIncludeFilters ()

Returns the Set of global include filters.

Returns

getStrictIncludeFilters

public  getStrictIncludeFilters ()

Returns the Set of global strict include filters.

Returns

setUpFilters

public void setUpFilters (IConfiguration config)

Initialize the global filters by passing them to the tests.

Parameters
config IConfiguration