PtsBotTest
public
class
PtsBotTest
extends Object
implements
IRemoteTest,
ITestFilterReceiver,
IShardableTest
java.lang.Object | |
↳ | com.android.tradefed.testtype.pandora.PtsBotTest |
Run PTS-bot tests. PTS-bot is a complete automation of the Bluetooth Profile Tuning Suite, which is the testing tool provided by the Bluetooth standard to run Bluetooth Host certification tests (see https://www.bluetooth.com/develop-with-bluetooth/qualification-listing/qualification-test-tools/profile-tuning-suite/).
Summary
Public constructors | |
---|---|
PtsBotTest()
|
Public methods | |
---|---|
void
|
addAllExcludeFilters(
Adds the |
void
|
addAllIncludeFilters(
Adds the |
void
|
addExcludeFilter(String filter)
Adds a filter of which tests to exclude. |
void
|
addIncludeFilter(String filter)
Adds a filter of which tests to include. |
void
|
clearExcludeFilters()
Delete all the exclude filters currently tracked. |
void
|
clearIncludeFilters()
Delete all the include filters currently tracked. |
|
getExcludeFilters()
Returns the current |
|
getIncludeFilters()
Returns the current |
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
Runs the tests, and reports result to the listener. |
|
split(Integer shardCountHint, TestInformation testInfo)
Alternative version of |
Public constructors
PtsBotTest
public PtsBotTest ()
Public methods
addAllExcludeFilters
public void addAllExcludeFilters (filters)
Adds the ERROR(/Set)
of filters of which tests to exclude.
Parameters | |
---|---|
filters |
|
addAllIncludeFilters
public void addAllIncludeFilters (filters)
Adds the ERROR(/Set)
of filters of which tests to include.
Parameters | |
---|---|
filters |
|
addExcludeFilter
public void addExcludeFilter (String filter)
Adds a filter of which tests to exclude.
Parameters | |
---|---|
filter |
String |
addIncludeFilter
public void addIncludeFilter (String filter)
Adds a filter of which tests to include.
Parameters | |
---|---|
filter |
String |
clearExcludeFilters
public void clearExcludeFilters ()
Delete all the exclude filters currently tracked.
clearIncludeFilters
public void clearIncludeFilters ()
Delete all the include filters currently tracked.
getExcludeFilters
publicgetExcludeFilters ()
Returns the current ERROR(/Set)
of exclude filters.
Returns | |
---|---|
|
getIncludeFilters
publicgetIncludeFilters ()
Returns the current ERROR(/Set)
of include filters.
Returns | |
---|---|
|
run
public void run (TestInformation testInfo, ITestInvocationListener listener)
Runs the tests, and reports result to the listener.
Parameters | |
---|---|
testInfo |
TestInformation : The TestInformation object containing useful information to run
tests. |
listener |
ITestInvocationListener : the ITestInvocationListener of test results |
Throws | |
---|---|
DeviceNotAvailableException |
split
publicsplit (Integer shardCountHint, TestInformation testInfo)
Alternative version of split(int)
which also provides a TestInformation
which contains early info from the parent creating the shards. It is useful if things like
device or build information need to be accessed during sharding.
Parameters | |
---|---|
shardCountHint |
Integer : the attempted shard count. |
testInfo |
TestInformation : The parent TestInformation |
Returns | |
---|---|
|
a collection of subtests to be executed separately or null if test is
not currently shardable |