Rust二進制測試
public class RustBinaryTest
extends RustTestBase
implements IDeviceTest , IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.testtype.rust.RustTestBase | |
↳ | com.android.tradefed.testtype.rust.RustBinaryTest |
在給定設備上運行 rust 二進製文件的測試。
概括
公共構造函數 | |
---|---|
RustBinaryTest () |
公共方法 | |
---|---|
ITestDevice | getDevice () 獲取待測設備。 |
String | getTestModule () |
void | run ( TestInformation testInfo, ITestInvocationListener listener) |
void | setConfiguration ( IConfiguration configuration) 注入正在使用的 |
void | setDevice ( ITestDevice device) 注入被測設備。 |
void | setModuleName (String name) |
公共構造函數
Rust二進制測試
public RustBinaryTest ()
公共方法
獲取測試模塊
public String getTestModule ()
退貨 | |
---|---|
String |
跑步
public void run (TestInformation testInfo, ITestInvocationListener listener)
參數 | |
---|---|
testInfo | TestInformation |
listener | ITestInvocationListener |
投擲 | |
---|---|
DeviceNotAvailableException |
設置配置
public void setConfiguration (IConfiguration configuration)
注入正在使用的IConfiguration
。
參數 | |
---|---|
configuration | IConfiguration |
設置模塊名稱
public void setModuleName (String name)
參數 | |
---|---|
name | String |