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 Profile Tuning Suite का पूरा ऑटोमेशन है. यह 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 ()
फ़िलहाल ट्रैक किए जा रहे सभी शामिल फ़िल्टर मिटाएं.
getExcludeFilters
publicgetExcludeFilters () 
'शामिल न करें' फ़िल्टर की मौजूदा संख्या ERROR(/Set) दिखाता है.
| रिटर्न | |
|---|---|
 | 
        |
getIncludeFilters
publicgetIncludeFilters () 
शामिल किए गए फ़िल्टर का मौजूदा ERROR(/Set) दिखाता है.
| रिटर्न | |
|---|---|
 | 
        |
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() का वैकल्पिक वर्शन, जो उस शर्ड की संख्या भी दिखाता है जिसे चलाने की कोशिश की गई है. यह उन टेस्ट रनर के लिए काम का है जो कभी-कभी मनमुताबिक फ़ैसला नहीं ले सकते.
| पैरामीटर | |
|---|---|
shardCountHint | 
        
          int: शर्ड की संख्या. | 
      
| रिटर्न | |
|---|---|
 | 
        अलग-अलग चलाए जाने वाले सब-टेस्ट का कलेक्शन या null अगर फ़िलहाल टेस्ट को शीयर नहीं किया जा सकता |