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 standard की ओर से उपलब्ध कराया गया टेस्टिंग टूल है. इसका इस्तेमाल, Bluetooth Host के सर्टिफ़िकेशन टेस्ट चलाने के लिए किया जाता है (देखें: 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)
|
सार्वजनिक कंस्ट्रक्टर
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 ()
फ़िलहाल ट्रैक किए जा रहे सभी 'शामिल करें' फ़िल्टर मिटाएं.
getExcludeFilters
public Set<String> getExcludeFilters ()
यह फ़ंक्शन, बाहर रखे गए फ़िल्टर की मौजूदा Set वैल्यू दिखाता है.
| रिटर्न | |
|---|---|
Set<String> |
|
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 |
रन
public void run (TestInformation testInfo, ITestInvocationListener listener)
जांच करता है और नतीजे को लिसनर को रिपोर्ट करता है.
| पैरामीटर | |
|---|---|
testInfo |
TestInformation: यह TestInformation ऑब्जेक्ट है. इसमें टेस्ट चलाने के लिए काम की जानकारी होती है. |
listener |
ITestInvocationListener: जांच के नतीजों का ITestInvocationListener |
| थ्रो | |
|---|---|
DeviceNotAvailableException |
|
बांटें
public Collection<IRemoteTest> split (int shardCountHint)
split() का वैकल्पिक वर्शन. यह shardCount भी दिखाता है जिसे चलाने की कोशिश की गई है. यह उन टेस्ट रनर के लिए काम का है जो कभी-कभी मनमुताबिक फ़ैसले नहीं ले पाते.
| पैरामीटर | |
|---|---|
shardCountHint |
int: शार्ड की संख्या. |
| रिटर्न | |
|---|---|
Collection<IRemoteTest> |
सबटेस्ट का कलेक्शन, जिसे अलग-अलग तरीके से लागू किया जाना है या null अगर टेस्ट को फ़िलहाल शेयर नहीं किया जा सकता |