PtsBot测试

public class PtsBotTest
extends Object implements IRemoteTest , ITestFilterReceiver , IShardableTest

java.lang.Object
com.android.tradefed.testtype.pandora.PtsBotTest


运行 PTS-bot 测试。 PTS-bot 是蓝牙配置文件调整套件的完全自动化,它是蓝牙标准提供的测试工具,用于运行蓝牙主机认证测试(请参阅 https://www.bluetooth.com/develop-with-bluetooth/qualification-清单/资格测试工具/配置文件调整套件/)。

概括

公共构造函数

PtsBotTest ()

公共方法

void addAllExcludeFilters ( filters) addAllExcludeFilters ( filters)

添加要排除的测试的过滤器的ERROR(/Set)

void addAllIncludeFilters ( filters) addAllIncludeFilters ( filters)

添加要包含的测试的过滤器的ERROR(/Set)

void addExcludeFilter (String filter)

添加要排除的测试的过滤器。

void addIncludeFilter (String filter)

添加要包含的测试的过滤器。

void clearExcludeFilters ()

删除当前跟踪的所有排除过滤器。

void clearIncludeFilters ()

删除当前跟踪的所有包含过滤器。

getExcludeFilters ()

返回排除过滤器的当前ERROR(/Set)

getIncludeFilters ()

返回包含过滤器的当前ERROR(/Set)

void run ( TestInformation testInfo, ITestInvocationListener listener)

运行测试,并将结果报告给侦听器。

split (int shardCountHint)

split()的替代版本还提供尝试运行的 shardCount。

公共构造函数

PtsBot测试

public PtsBotTest ()

公共方法

添加所有排除过滤器

public void addAllExcludeFilters ( filters)

添加要排除的测试的过滤器的ERROR(/Set)

参数
filters

添加所有包含过滤器

public void addAllIncludeFilters ( filters)

添加要包含的测试的过滤器的ERROR(/Set)

参数
filters

添加排除过滤器

public void addExcludeFilter (String filter)

添加要排除的测试的过滤器。

参数
filter String

添加包含过滤器

public void addIncludeFilter (String filter)

添加要包含的测试的过滤器。

参数
filter String

清除排除过滤器

public void clearExcludeFilters ()

删除当前跟踪的所有排除过滤器。

清除包含过滤器

public void clearIncludeFilters ()

删除当前跟踪的所有包含过滤器。

获取排除过滤器

public  getExcludeFilters ()

返回排除过滤器的当前ERROR(/Set)

退货

获取包含过滤器

public  getIncludeFilters ()

返回包含过滤器的当前ERROR(/Set)

退货

跑步

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

运行测试,并将结果报告给侦听器。

参数
testInfo TestInformationTestInformation对象包含运行测试的有用信息。

listener ITestInvocationListener :测试结果的ITestInvocationListener

投掷
DeviceNotAvailableException

分裂

public  split (int shardCountHint)

split()的替代版本还提供尝试运行的 shardCount。这对于某些有时无法随意决定的测试运行者很有用。

参数
shardCountHint int :尝试的分片计数。

退货
要单独执行的子测试的集合,如果测试当前不可分片,则为null