LocalEmulatorLaunch
public
class
LocalEmulatorLaunch
extends BaseEmulatorPreparer
java.lang.Object | |||
↳ | com.android.tradefed.targetprep.BaseTargetOutcomer | ||
↳ | com.android.tradefed.targetprep.BaseEmulatorPreparer | ||
↳ | com.android.tradefed.targetprep.LocalEmulatorLaunch |
Mục tiêu chuẩn bị khởi chạy trình mô phỏng cục bộ từ môi trường bản dựng Android.
Bạn nên chuẩn bị bản tổng quan nhanh về trình mô phỏng (ví dụ: chạy được trao đổi trình mô phỏng/generate-snapshot) trước khi chạy bất kỳ cấu hình nào chứa cấu hình này.
Tóm tắt
Hàm khởi tạo công khai | |
---|---|
LocalEmulatorLaunch()
|
Phương thức công khai | |
---|---|
void
|
setUp(TestInformation testInformation)
|
void
|
tearDown(TestInformation testInformation, Throwable e)
|
Hàm khởi tạo công khai
LocalEmulatorLaunch
public LocalEmulatorLaunch ()
Phương thức công khai
thiết lập
public void setUp (TestInformation testInformation)
Tham số | |
---|---|
testInformation |
TestInformation |
Gửi | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
xé hình
public void tearDown (TestInformation testInformation, Throwable e)
Tham số | |
---|---|
testInformation |
TestInformation |
e |
Throwable |
Gửi | |
---|---|
DeviceNotAvailableException |