AtestUtils
public
class
AtestUtils
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.AtestUtils |
คลาสยูทิลิตีสำหรับโปรแกรมเรียกใช้ Atest
สรุป
เครื่องมือสร้างสาธารณะ | |
|---|---|
AtestUtils()
|
|
เมธอดสาธารณะ | |
|---|---|
static
void
|
addDebugger(IConfiguration testConfig)
ตัวช่วยในการแนบดีบักเกอร์กับการทดสอบการวัดคุมใดๆ ในการกำหนดค่า |
static
void
|
applyIncludeFilters(LinkedHashMap<String, IConfiguration> configMap, List<String> includeFilters)
ฟังก์ชันช่วยในการใช้ตัวกรองรวมกับการทดสอบใน ConfigMap |
static
void
|
disableTargetPreparers(IConfiguration testConfig, boolean skipSetUp, boolean skipTearDown)
Helper to disable TargetPreparers of a test. |
static
void
|
setIncrementalSetupEnabledForTargetPreparers(IConfiguration testConfig, boolean shouldEnable)
Helper เพื่อตั้งค่าการตั้งค่าที่เพิ่มขึ้นให้เปิดหรือปิดใช้กับ TargetPreparers ของการทดสอบ |
เครื่องมือสร้างสาธารณะ
AtestUtils
public AtestUtils ()
เมธอดสาธารณะ
addDebugger
public static void addDebugger (IConfiguration testConfig)
ตัวช่วยในการแนบดีบักเกอร์กับการทดสอบการวัดคุมใดๆ ในการกำหนดค่า
| พารามิเตอร์ | |
|---|---|
testConfig |
IConfiguration |
applyIncludeFilters
public static void applyIncludeFilters (LinkedHashMap<String, IConfiguration> configMap, List<String> includeFilters)
ฟังก์ชันช่วยในการใช้ตัวกรองรวมกับการทดสอบใน ConfigMap
| พารามิเตอร์ | |
|---|---|
configMap |
LinkedHashMap: แผนที่ของการกำหนดค่าที่โหลด |
includeFilters |
List: รายการตัวกรองรวมที่จะใช้ |
disableTargetPreparers
public static void disableTargetPreparers (IConfiguration testConfig, boolean skipSetUp, boolean skipTearDown)
Helper to disable TargetPreparers of a test.
| พารามิเตอร์ | |
|---|---|
testConfig |
IConfiguration |
skipSetUp |
boolean |
skipTearDown |
boolean |
setIncrementalSetupEnabledForTargetPreparers
public static void setIncrementalSetupEnabledForTargetPreparers (IConfiguration testConfig, boolean shouldEnable)
Helper เพื่อตั้งค่าการตั้งค่าที่เพิ่มขึ้นให้เปิดหรือปิดใช้กับ TargetPreparers ของการทดสอบ
| พารามิเตอร์ | |
|---|---|
testConfig |
IConfiguration: การกำหนดค่าการทดสอบที่มีเครื่องมือเตรียมเป้าหมายทั้งหมด |
shouldEnable |
boolean: true เพื่อเปิดใช้การตั้งค่าแบบเพิ่มทีละรายการ ไม่เช่นนั้นให้ปิดใช้การตั้งค่าแบบเพิ่มทีละรายการ
|