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 |
DELIMITER_NAME
|
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(
|
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
DELIMITER_NAME
public static final String DELIMITER_NAME
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
publicgetExcludeFilters ()
Returns the Set of global exclude filters.
Returns | |
---|---|
|
getIncludeFilters
publicgetIncludeFilters ()
Returns the Set of global include filters.
Returns | |
---|---|
|
getStrictIncludeFilters
publicgetStrictIncludeFilters ()
Returns the Set of global strict include filters.
Returns | |
---|---|
|
setUpFilters
public void setUpFilters (IConfiguration config,demotedList)
Initialize the global filters by passing them to the tests.
Parameters | |
---|---|
config |
IConfiguration |
demotedList |
|