LocalRunInstructionBuilder
public class LocalRunInstructionBuilder
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.LocalRunInstructionBuilder |
Tiện ích để biên dịch hướng dẫn chạy thử nghiệm cục bộ.
Bản tóm tắt
nhà thầu công cộng | |
---|---|
LocalRunInstructionBuilder () |
Phương thức công khai | |
---|---|
static String | getCommand ( ConfigurationDescriptor configDescriptor, TestDescription testId, ConfigurationDescriptor.LocalTestRunner runner) Trả lại một lệnh để chạy thử nghiệm cục bộ. |
static String | getInstruction ( ConfigurationDescriptor configDescriptor, ConfigurationDescriptor.LocalTestRunner runner, TestDescription testId) Biên dịch hướng dẫn để chạy thử nghiệm cục bộ. |
static String | getInstruction ( ConfigurationDescriptor configDescriptor, ConfigurationDescriptor.LocalTestRunner runner) Biên dịch hướng dẫn để chạy thử nghiệm cục bộ. |
nhà thầu công cộng
LocalRunInstructionBuilder
public LocalRunInstructionBuilder ()
Phương thức công khai
getCommand
public static String getCommand (ConfigurationDescriptor configDescriptor, TestDescription testId, ConfigurationDescriptor.LocalTestRunner runner)
Trả lại một lệnh để chạy thử nghiệm cục bộ.
Thông số | |
---|---|
configDescriptor | ConfigurationDescriptor : Cấu hình ConfigurationDescriptor để chạy thử. |
testId | TestDescription : TestDescription để chỉ định thử nghiệm nào sẽ chạy. |
runner | ConfigurationDescriptor.LocalTestRunner : LocalTestRunner được sử dụng để chạy thử nghiệm. |
trả lại | |
---|---|
String | Lệnh String để chạy thử nghiệm cục bộ. |
nhận hướng dẫn
public static String getInstruction (ConfigurationDescriptor configDescriptor, ConfigurationDescriptor.LocalTestRunner runner, TestDescription testId)
Biên dịch hướng dẫn để chạy thử nghiệm cục bộ.
Thông số | |
---|---|
configDescriptor | ConfigurationDescriptor : ConfigurationDescriptor để tạo hướng dẫn cho. |
runner | ConfigurationDescriptor.LocalTestRunner : LocalTestRunner được sử dụng để xây dựng hướng dẫn. |
testId | TestDescription : TestDescription của bài kiểm tra để chạy. Nó có thể là null khi xây dựng hướng dẫn chạy cục bộ cho toàn bộ mô-đun. |
trả lại | |
---|---|
String | String hướng dẫn. |
nhận hướng dẫn
public static String getInstruction (ConfigurationDescriptor configDescriptor, ConfigurationDescriptor.LocalTestRunner runner)
Biên dịch hướng dẫn để chạy thử nghiệm cục bộ.
Thông số | |
---|---|
configDescriptor | ConfigurationDescriptor : ConfigurationDescriptor để tạo hướng dẫn cho. |
runner | ConfigurationDescriptor.LocalTestRunner : LocalTestRunner được sử dụng để xây dựng hướng dẫn. |
trả lại | |
---|---|
String | String hướng dẫn. |