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


Pengujian yang menjalankan biner rust di perangkat tertentu.

Ringkasan

Konstruktor publik

RustBinaryTest()

Metode publik

ITestDevice getDevice()

Mendapatkan perangkat yang sedang diuji.

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

void setCollectTestsOnly(boolean shouldCollectTest)

Mengaktifkan atau menonaktifkan mode pengumpulan pengujian

void setDevice(ITestDevice device)

Menyuntikkan perangkat yang sedang diuji.

void setModuleName(String name)

Konstruktor publik

RustBinaryTest

public RustBinaryTest ()

Metode publik

getDevice

public ITestDevice getDevice ()

Mendapatkan perangkat yang sedang diuji.

Hasil
ITestDevice ITestDevice

getTestModule

public String getTestModule ()

Hasil
String

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Parameter
testInfo TestInformation

listener ITestInvocationListener

Menampilkan
DeviceNotAvailableException

setCollectTestsOnly

public void setCollectTestsOnly (boolean shouldCollectTest)

Mengaktifkan atau menonaktifkan mode pengumpulan pengujian

setDevice

public void setDevice (ITestDevice device)

Menyuntikkan perangkat yang sedang diuji.

Parameter
device ITestDevice: ITestDevice yang akan digunakan

setModuleName

public void setModuleName (String name)

Parameter
name String