PtsBotTest

public class PtsBotTest
extends Object implements IRemoteTest , ITestFilterReceiver , IShardableTest

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


PTS-bot テストを実行します。 PTS-bot は、Bluetooth Host 認定テストを実行するために Bluetooth 標準によって提供されるテスト ツールである Bluetooth Profile Tuning Suite の完全な自動化です (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 (Integer shardCountHint, TestInformation testInfo)

シャードを作成する親からの初期情報を含むTestInformationも提供するsplit(int)の代替バージョン。

パブリック コンストラクター

PtsBotTest

public PtsBotTest ()

公開メソッド

addAllExcludeFilters

public void addAllExcludeFilters ( filters)

除外するテストのフィルターのERROR(/Set)を追加します。

パラメーター
filters

addAllIncludeFilters

public void addAllIncludeFilters ( filters)

含めるテストのフィルターのERROR(/Set)を追加します。

パラメーター
filters

addExcludeFilter

public void addExcludeFilter (String filter)

除外するテストのフィルターを追加します。

パラメーター
filter String

addIncludeFilter

public void addIncludeFilter (String filter)

含めるテストのフィルターを追加します。

パラメーター
filter String

clearExcludeFilters

public void clearExcludeFilters ()

現在追跡されているすべての除外フィルターを削除します。

clearIncludeFilters

public void clearIncludeFilters ()

現在追跡されているすべての包含フィルターを削除します。

getExcludeFilters

public  getExcludeFilters ()

除外フィルターの現在のERROR(/Set)を返します。

戻り値

getIncludeFilters

public  getIncludeFilters ()

インクルード フィルターの現在のERROR(/Set)を返します。

戻り値

走る

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

テストを実行し、結果をリスナーに報告します。

パラメーター
testInfo TestInformation : テストを実行するための有用な情報を含むTestInformationオブジェクト。

listener ITestInvocationListener : テスト結果のITestInvocationListener

スロー
DeviceNotAvailableException

スプリット

public  split (Integer shardCountHint, 
                TestInformation testInfo)

シャードを作成する親からの初期情報を含むTestInformationも提供するsplit(int)の代替バージョン。シャーディング中にデバイスやビルド情報などにアクセスする必要がある場合に便利です。

パラメーター
shardCountHint Integer : 試行されたシャード数。

testInfo TestInformation : 親のTestInformation

戻り値
個別に実行されるサブテストのコレクション、またはテストが現在シャード可能でない場合はnull