Kiểm traPoolPoller
public final class TestsPoolPoller
extends Object
implements IRemoteTest, IConfigurationReceiver , ISystemStatusCheckerReceiver , IMetricCollectorReceiver
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.TestsPoolPoller |
Trình bao bọc thử nghiệm cho phép thực hiện tất cả các thử nghiệm của một nhóm thử nghiệm. Các thử nghiệm có thể được chia sẻ bởi một TestsPoolPoller
khác nên cần phải đồng bộ hóa.
VIỆC CẦN LÀM: Thêm xử lý cho mô-đun/kiểm tra mã thông báo.
Bản tóm tắt
Nhà thầu xây dựng công cộng | |
---|---|
TestsPoolPoller ( tests, CountDownLatch tracker) TestsPoolPoller ( tests, CountDownLatch tracker) Ctor nơi cung cấp nhóm | |
TestsPoolPoller ( tests, tokenTests, CountDownLatch tracker) TestsPoolPoller ( tests, tokenTests, CountDownLatch tracker) TestsPoolPoller ( tests, tokenTests, CountDownLatch tracker) |
Phương pháp công khai | |
---|---|
void | run (TestInformation info, ITestInvocationListener listener) |
void | setConfiguration ( IConfiguration configuration) Tiêm |
void | setLogRegistry ( ILogRegistry registry) |
void | setMetricCollectors ( collectors) setMetricCollectors ( collectors) Đặt danh sách |
void | setSystemStatusChecker ( systemCheckers) setSystemStatusChecker ( systemCheckers) Đặt |
Nhà thầu xây dựng công cộng
Kiểm traPoolPoller
public TestsPoolPoller (tests, CountDownLatch tracker)
Ctor nơi cung cấp nhóm IRemoteTest
.
Thông số | |
---|---|
tests | IRemoteTest . |
tracker | CountDownLatch : một ERROR(/CountDownLatch) được chia sẻ để lấy số lượng người thăm dò đang chạy. |
Kiểm traPoolPoller
public TestsPoolPoller (tests, tokenTests, CountDownLatch tracker)
Thông số | |
---|---|
tests | |
tokenTests | |
tracker | CountDownLatch |
Phương pháp công khai
chạy
public void run (TestInformation info, ITestInvocationListener listener)
Thông số | |
---|---|
info | TestInformation |
listener | ITestInvocationListener |
Ném | |
---|---|
DeviceNotAvailableException |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Tiêm IConfiguration
đang sử dụng.
Thông số | |
---|---|
configuration | IConfiguration |
setMetricCollectors
public void setMetricCollectors (collectors)
Đặt danh sách IMetricCollector
được xác định cho lần chạy thử nghiệm.
Thông số | |
---|---|
collectors |
setSystemStatusChecker
public void setSystemStatusChecker (systemCheckers)
Đặt ISystemStatusChecker
s từ cấu hình cho thử nghiệm.
Thông số | |
---|---|
systemCheckers |