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 ()

เมธอดสาธารณะ

getDevice

public ITestDevice getDevice ()

รับอุปกรณ์ที่อยู่ระหว่างการทดสอบ

การคืนสินค้า
ITestDevice ITestDevice

getTestModule

public String getTestModule ()

การคืนสินค้า
String

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

พารามิเตอร์
testInfo TestInformation

listener ITestInvocationListener

ส่ง
DeviceNotAvailableException

setCollectTestsOnly

public void setCollectTestsOnly (boolean shouldCollectTest)

เปิดหรือปิดใช้โหมดการรวบรวมการทดสอบ

setDevice

public void setDevice (ITestDevice device)

แทรกอุปกรณ์ที่อยู่ระหว่างการทดสอบ

พารามิเตอร์
device ITestDevice: ITestDevice ที่จะใช้

setModuleName

public void setModuleName (String name)

พารามิเตอร์
name String