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 | |
Test, który uruchamia binarny plik Rust na danym urządzeniu.
Podsumowanie
Konstruktory publiczne | |
|---|---|
RustBinaryTest()
|
|
Metody publiczne | |
|---|---|
ITestDevice
|
getDevice()
Pobiera testowane urządzenie. |
String
|
getTestModule()
|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
|
void
|
setCollectTestsOnly(boolean shouldCollectTest)
Włącza lub wyłącza tryb zbierania testów. |
void
|
setDevice(ITestDevice device)
Wstrzykuje testowane urządzenie. |
void
|
setModuleName(String name)
|
Konstruktory publiczne
RustBinaryTest
public RustBinaryTest ()
Metody publiczne
getDevice
public ITestDevice getDevice ()
Pobiera testowane urządzenie.
| Zwraca | |
|---|---|
ITestDevice |
ITestDevice |
getTestModule
public String getTestModule ()
| Zwraca | |
|---|---|
String |
|
run
public void run (TestInformation testInfo, ITestInvocationListener listener)
| Parametry | |
|---|---|
testInfo |
TestInformation |
listener |
ITestInvocationListener |
| Zgłasza | |
|---|---|
DeviceNotAvailableException |
|
setCollectTestsOnly
public void setCollectTestsOnly (boolean shouldCollectTest)
Włącza lub wyłącza tryb zbierania testów.
setDevice
public void setDevice (ITestDevice device)
Wstrzykuje testowane urządzenie.
| Parametry | |
|---|---|
device |
ITestDevice: ITestDevice, którego należy użyć |
setModuleName
public void setModuleName (String name)
| Parametry | |
|---|---|
name |
String |