DynamicSystemPreparer

public class DynamicSystemPreparer
extends BaseTargetPreparer implements ILabPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.DynamicSystemPreparer


Một ITargetPreparer thiết lập hình ảnh hệ thống trên bản dựng thiết bị với Bản cập nhật hệ thống động.

Bản tóm tắt

nhà thầu công cộng

DynamicSystemPreparer ()

Phương thức công khai

void setUp ( TestInformation testInfo)

Thực hiện thiết lập mục tiêu để thử nghiệm.

void tearDown ( TestInformation testInfo, Throwable e)

Thực hiện dọn dẹp/xé bỏ mục tiêu sau khi thử nghiệm.

nhà thầu công cộng

DynamicSystemPreparer

public DynamicSystemPreparer ()

Phương thức công khai

cài đặt

public void setUp (TestInformation testInfo)

Thực hiện thiết lập mục tiêu để thử nghiệm.

Thông số
testInfo TestInformation : TestInformation của lệnh gọi.

ném
BuildError
DeviceNotAvailableException
TargetSetupError

phá bỏ

public void tearDown (TestInformation testInfo, 
                Throwable e)

Thực hiện dọn dẹp/xé bỏ mục tiêu sau khi thử nghiệm.

Thông số
testInfo TestInformation : TestInformation của lệnh gọi.

e Throwable : nếu lời gọi kết thúc bằng một ngoại lệ, thì đây sẽ là ngoại lệ đã bị bắt ở cấp độ Lời gọi. Nếu không, sẽ là null .

ném
DeviceNotAvailableException