ClusterCommandLauncher
  public
  
  
  
  class
  ClusterCommandLauncher
  
    extends Object
  
  
  
  
  
      implements
      
        IRemoteTest, 
      
        IInvocationContextReceiver, 
      
        IConfigurationReceiver
      
  
  
| 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)
       | 
| 
        
        
        
        
        
        void | 
      setConfiguration(IConfiguration configuration)
      Chèn  | 
| 
        
        
        
        
        
        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)| Tham số | |
|---|---|
| testInfo | TestInformation | 
| listener | ITestInvocationListener | 
| 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 | 
