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