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 constructors | |
---|---|
GlobalTestFilter()
|
Public methods | |
---|---|
void
|
addPreviousPassedTests(
|
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. |
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
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
publicgetExcludeFilters ()
Returns the Set of global exclude filters.
Returns | |
---|---|
|
getIncludeFilters
publicgetIncludeFilters ()
Returns the Set of global include filters.
Returns | |
---|---|
|
setUpFilters
public void setUpFilters (IConfiguration config)
Initialize the global filters by passing them to the tests.
Parameters | |
---|---|
config |
IConfiguration |