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


Một bài kiểm thử chạy tệp nhị phân Rust trên thiết bị đã cho.

Tóm tắt

Hàm khởi tạo công khai

RustBinaryTest()

Phương thức công khai

ITestDevice getDevice()

Nhận thiết bị đang kiểm thử.

String getTestModule()
void run(TestInformation testInfo, ITestInvocationListener listener)

void setCollectTestsOnly(boolean shouldCollectTest)

Bật hoặc tắt chế độ thu thập bài kiểm thử

void setDevice(ITestDevice device)

Chèn thiết bị đang kiểm thử.

void setModuleName(String name)

Hàm khởi tạo công khai

RustBinaryTest

public RustBinaryTest ()

Phương thức công khai

getDevice

public ITestDevice getDevice ()

Nhận thiết bị đang kiểm thử.

Giá trị trả về
ITestDevice ITestDevice

getTestModule

public String getTestModule ()

Giá trị trả về
String

chạy

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Tham số
testInfo TestInformation

listener ITestInvocationListener

Gửi
DeviceNotAvailableException

setCollectTestsOnly

public void setCollectTestsOnly (boolean shouldCollectTest)

Bật hoặc tắt chế độ thu thập bài kiểm thử

setDevice

public void setDevice (ITestDevice device)

Chèn thiết bị đang kiểm thử.

Tham số
device ITestDevice: ITestDevice để sử dụng

setModuleName

public void setModuleName (String name)

Tham số
name String