RustBinaryTest
public
class
RustBinaryTest
extends RustTestBase
implements
IConfigurationReceiver,
IDeviceTest,
ITestCollector
| 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
|
setCollectTestsOnly(boolean shouldCollectTest)
啟用或停用測試收集模式 |
void
|
setDevice(ITestDevice device)
注入受測裝置。 |
void
|
setModuleName(String name)
|
公用建構函式
RustBinaryTest
public RustBinaryTest ()
公用方法
getTestModule
public String getTestModule ()
| 傳回 | |
|---|---|
String |
|
得分
public void run (TestInformation testInfo, ITestInvocationListener listener)
| 參數 | |
|---|---|
testInfo |
TestInformation |
listener |
ITestInvocationListener |
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|
setCollectTestsOnly
public void setCollectTestsOnly (boolean shouldCollectTest)
啟用或停用測試收集模式
setModuleName
public void setModuleName (String name)
| 參數 | |
|---|---|
name |
String |