KillExistingEmulatorPreparer

public class KillExistingEmulatorPreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.KillExistingEmulatorPreparer


ITargetPreparer tắt trình mô phỏng đang chạy.

Thường được ghép nối với LocalEmulatorSnapshot để tắt trình mô phỏng khởi động nguội, nhờ đó, các trình chuẩn bị/kiểm thử tiếp theo có thể khởi chạy từ ảnh chụp nhanh.

Tóm tắt

Hàm khởi tạo công khai

KillExistingEmulatorPreparer()

Phương thức công khai

void setUp(TestInformation testInformation)

Hàm khởi tạo công khai

KillExistingEmulatorPreparer

public KillExistingEmulatorPreparer ()

Phương thức công khai

setUp

public void setUp (TestInformation testInformation)

Tham số
testInformation TestInformation

Gửi
BuildError
DeviceNotAvailableException
TargetSetupError