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 ホストの認定テストを実行するために 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(除外するテストのフィルタの  | 
| 
        
        
        
        
        
        void | 
      addAllIncludeFilters(含めるテストのフィルタの  | 
| 
        
        
        
        
        
        void | 
      addExcludeFilter(String filter)
      除外するテストのフィルタを追加します。 | 
| 
        
        
        
        
        
        void | 
      addIncludeFilter(String filter)
      含めるテストのフィルタを追加します。 | 
| 
        
        
        
        
        
        void | 
      clearExcludeFilters()
      現在トラッキングされている除外フィルタをすべて削除します。 | 
| 
        
        
        
        
        
        void | 
      clearIncludeFilters()
      現在トラッキングされている含めるフィルタをすべて削除します。 | 
| 
        
        
        
        
        
         | 
      getExcludeFilters()
      除外フィルタの現在の  | 
| 
        
        
        
        
        
         | 
      getIncludeFilters()
      包含フィルタの現在の  | 
| 
        
        
        
        
        
        PtsBotTest.TestSyspropConfiguration | 
      getSyspropConfiguration()
       | 
| 
        
        
        
        
        
        PtsBotTest.TestFlagConfiguration | 
      getTestFlagConfiguration()
       | 
| 
        
        
        
        
        
        void | 
      initFlagsConfig(ITestDevice testDevice, File testConfigFile)
       | 
| 
        
        
        
        
        
        void | 
      initSystemPropertiesConfig(File testConfigFile)
       | 
| 
        
        
        
        
        
        void | 
      run(TestInformation testInfo, ITestInvocationListener listener)
      テストを実行し、結果をリスナーに報告します。 | 
| 
        
        
        
        
        
         | 
      split(int shardCountHint)
      
 | 
パブリック コンストラクタ
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 ()
現在トラッキングされている含めるフィルタをすべて削除します。
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 | 
ホームラン
public void run (TestInformation testInfo, ITestInvocationListener listener)
テストを実行し、結果をリスナーに報告します。
| パラメータ | |
|---|---|
| testInfo | TestInformation: テストの実行に役立つ情報が含まれるTestInformationオブジェクト。 | 
| listener | ITestInvocationListener: テスト結果のITestInvocationListener | 
| 例外 | |
|---|---|
| DeviceNotAvailableException | |
分割
publicsplit (int shardCountHint) 
split() の代替バージョン。実行が試行される shardCount も提供します。これは、場合によっては任意に決定できない一部のテストランナーに便利です。
| パラメータ | |
|---|---|
| shardCountHint | int: 試行されたシャードの数。 | 
| 戻り値 | |
|---|---|
|  | 個別に実行するサブテストのコレクション。テストが現在シャーディング可能でない場合は null | 
