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 (ดู 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 หากการทดสอบ
ยังไม่สามารถแยกส่วนได้ในขณะนี้ |