RustBinaryTest
public
class
RustBinaryTest
extends RustTestBase
implements
IConfigurationReceiver,
IDeviceTest
| java.lang.Object | ||
| ↳ | com.android.tradefed.testtype.rust.RustTestBase | |
| ↳ | com.android.tradefed.testtype.rust.RustBinaryTest | |
A Test that runs a rust binary on given device.
Summary
Public constructors | |
|---|---|
RustBinaryTest()
|
|
Public methods | |
|---|---|
ITestDevice
|
getDevice()
Get the device under test. |
String
|
getTestModule()
|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
|
void
|
setDevice(ITestDevice device)
Inject the device under test. |
void
|
setModuleName(String name)
|
Public constructors
RustBinaryTest
public RustBinaryTest ()
Public methods
getDevice
public ITestDevice getDevice ()
Get the device under test.
| Returns | |
|---|---|
ITestDevice |
the ITestDevice |
getTestModule
public String getTestModule ()
| Returns | |
|---|---|
String |
|
run
public void run (TestInformation testInfo, ITestInvocationListener listener)
| Parameters | |
|---|---|
testInfo |
TestInformation |
listener |
ITestInvocationListener |
| Throws | |
|---|---|
DeviceNotAvailableException |
|
setDevice
public void setDevice (ITestDevice device)
Inject the device under test.
| Parameters | |
|---|---|
device |
ITestDevice: the ITestDevice to use |
setModuleName
public void setModuleName (String name)
| Parameters | |
|---|---|
name |
String |