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)

注入正在使用的IConfiguration

void setDevice ( ITestDevice device)

注入被测设备。

void setModuleName (String name)

公共构造函数

Rust 二进制测试

public RustBinaryTest ()

公共方法

获取设备

public ITestDevice getDevice ()

获取被测设备。

退货
ITestDevice ITestDevice

获取测试模块

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

注入被测设备。

参数
device ITestDevice :要使用的ITestDevice

设置模块名称

public void setModuleName (String name)

参数
name String