RustBinaryTest

public class RustBinaryTest
extends RustTestBase implements IConfigurationReceiver, IDeviceTest

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 setDevice(ITestDevice device)

插入測試中的裝置。

void setModuleName(String name)

公用建構函式

RustBinaryTest

public RustBinaryTest ()

公用方法

getDevice

public ITestDevice getDevice ()

取得測試裝置。

傳回
ITestDevice ITestDevice

getTestModule

public String getTestModule ()

傳回
String

得分

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

參數
testInfo TestInformation

listener ITestInvocationListener

擲回
DeviceNotAvailableException

setDevice

public void setDevice (ITestDevice device)

插入測試中的裝置。

參數
device ITestDevice:要使用的 ITestDevice

setModuleName

public void setModuleName (String name)

參數
name String