ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IConfigurationReceiver, IInvocationContextReceiver, IRemoteTest

java.lang.Object
   ↳ com.android.tradefed.cluster.ClusterCommandLauncher


Lớp IRemoteTest để chạy một lệnh từ TFC thông qua một quy trình con TF. FIXME: cần mở rộng tính năng này để hỗ trợ kiểm thử nhiều thiết bị.

Tóm tắt

Trường

public static final String ANDROID_SERIALS

public static final String TEST_WORK_DIR

public static final String TF_DEVICE_COUNT

public static final String TF_JAR_DIR

public static final String TF_PATH

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

ClusterCommandLauncher()

Phương thức công khai

void run(TestInformation testInfo, ITestInvocationListener listener)

Chạy các bài kiểm thử và báo cáo kết quả cho trình nghe.

void setConfiguration(IConfiguration configuration)

Chèn IConfiguration đang sử dụng.

void setInvocationContext(IInvocationContext invocationContext)

Trường

ANDROID_SERIALS

public static final String ANDROID_SERIALS

TEST_WORK_DIR

public static final String TEST_WORK_DIR

TF_DEVICE_COUNT

public static final String TF_DEVICE_COUNT

TF_JAR_DIR

public static final String TF_JAR_DIR

TF_PATH

public static final String TF_PATH

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

ClusterCommandLauncher

public ClusterCommandLauncher ()

Phương thức công khai

chạy

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Chạy các bài kiểm thử và báo cáo kết quả cho trình nghe.

Tham số
testInfo TestInformation: Đối tượng TestInformation chứa thông tin hữu ích để chạy các chương trình kiểm thử.

listener ITestInvocationListener: ITestInvocationListener của kết quả kiểm thử

Gửi
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

Chèn IConfiguration đang sử dụng.

Tham số
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

Tham số
invocationContext IInvocationContext