PtsBotTest

public class PtsBotTest
extends Object implements IRemoteTest , ITestFilterReceiver , IShardableTest

java.lang.オブジェクト
com.android.tradefed.testtype.pandora.PtsBotTest


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

実行しようとしている shardCount も提供する、 split()の代替バージョン。

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

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

クリア除外フィルター

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 (int shardCountHint)

実行しようとしている shardCount も提供する、 split()の代替バージョン。これは、独断で決定できない場合があるテスト ランナーにとって便利です。

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

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