PtsBotTest
public
class
PtsBotTest
extends Object
implements
IRemoteTest,
IShardableTest,
ITestFilterReceiver,
ITestLogger
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.pandora.PtsBotTest |
PTS-bot テストを実行します。PTS-bot は、Bluetooth プロファイル チューニング スイートの完全な自動化です。これは、Bluetooth ホスト認定テストを実行するために Bluetooth 標準で提供されるテストツールです(https://www.bluetooth.com/develop-with-bluetooth/qualification-listing/qualification-test-tools/profile-tuning-suite/ を参照)。
概要
ネストされたクラス | |
|---|---|
class |
PtsBotTest.TestFlagConfiguration
|
class |
PtsBotTest.TestSyspropConfiguration
|
パブリック コンストラクタ | |
|---|---|
PtsBotTest()
|
|
パブリック メソッド | |
|---|---|
void
|
addAllExcludeFilters(Set<String> filters)
除外するテストのフィルタの |
void
|
addAllIncludeFilters(Set<String> filters)
含めるテストのフィルタの |
void
|
addExcludeFilter(String filter)
除外するテストのフィルタを追加します。 |
void
|
addIncludeFilter(String filter)
含めるテストのフィルタを追加します。 |
void
|
clearExcludeFilters()
現在トラッキングされている除外フィルタをすべて削除します。 |
void
|
clearIncludeFilters()
現在トラッキングされているすべての包含フィルタを削除します。 |
Set<String>
|
getExcludeFilters()
除外フィルタの現在の |
Set<String>
|
getIncludeFilters()
現在のインクルード フィルタの |
PtsBotTest.TestSyspropConfiguration
|
getSyspropConfiguration()
|
PtsBotTest.TestFlagConfiguration
|
getTestFlagConfiguration()
|
void
|
initFlagsConfig(ITestDevice testDevice, File testConfigFile)
|
void
|
initSystemPropertiesConfig(File testConfigFile)
|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
テストを実行し、結果をリスナーに報告します。 |
Collection<IRemoteTest>
|
split(int shardCountHint)
実行しようとした shardCount も提供する |
パブリック コンストラクタ
PtsBotTest
public PtsBotTest ()
パブリック メソッド
addAllExcludeFilters
public void addAllExcludeFilters (Set<String> filters)
除外するテストのフィルタの Set を追加します。
| パラメータ | |
|---|---|
filters |
Set |
addAllIncludeFilters
public void addAllIncludeFilters (Set<String> filters)
テストに含めるフィルタの Set を追加します。
| パラメータ | |
|---|---|
filters |
Set |
addExcludeFilter
public void addExcludeFilter (String filter)
除外するテストのフィルタを追加します。
| パラメータ | |
|---|---|
filter |
String |
addIncludeFilter
public void addIncludeFilter (String filter)
含めるテストのフィルタを追加します。
| パラメータ | |
|---|---|
filter |
String |
clearExcludeFilters
public void clearExcludeFilters ()
現在トラッキングされている除外フィルタをすべて削除します。
clearIncludeFilters
public void clearIncludeFilters ()
現在トラッキングされているすべての除外フィルタを削除します。
getIncludeFilters
public Set<String> getIncludeFilters ()
インクルード フィルタの現在の Set を返します。
| 戻り値 | |
|---|---|
Set<String> |
|
getSyspropConfiguration
public PtsBotTest.TestSyspropConfiguration getSyspropConfiguration ()
| 戻り値 | |
|---|---|
PtsBotTest.TestSyspropConfiguration |
|
getTestFlagConfiguration
public PtsBotTest.TestFlagConfiguration getTestFlagConfiguration ()
| 戻り値 | |
|---|---|
PtsBotTest.TestFlagConfiguration |
|
initFlagsConfig
public void initFlagsConfig (ITestDevice testDevice, File testConfigFile)
| パラメータ | |
|---|---|
testDevice |
ITestDevice |
testConfigFile |
File |
initSystemPropertiesConfig
public void initSystemPropertiesConfig (File testConfigFile)
| パラメータ | |
|---|---|
testConfigFile |
File |
run
public void run (TestInformation testInfo, ITestInvocationListener listener)
テストを実行し、結果をリスナーに報告します。
| パラメータ | |
|---|---|
testInfo |
TestInformation: テストの実行に役立つ情報を含む TestInformation オブジェクト。 |
listener |
ITestInvocationListener: テスト結果の ITestInvocationListener |
| 例外 | |
|---|---|
DeviceNotAvailableException |
|
split
public Collection<IRemoteTest> split (int shardCountHint)
実行しようとした shardCount も提供する split() の代替バージョン。これは、テストランナーが任意に決定できない場合に便利です。
| パラメータ | |
|---|---|
shardCountHint |
int: 試行されたシャード数。 |
| 戻り値 | |
|---|---|
Collection<IRemoteTest> |
個別に実行されるサブテストのコレクション。テストが現在シャード可能でない場合は null |