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 | |
Belirli bir cihazda Rust ikili programı çalıştıran test.
Özet
Herkese açık oluşturucular | |
|---|---|
RustBinaryTest()
|
|
Herkese açık yöntemler | |
|---|---|
ITestDevice
|
getDevice()
Test edilecek cihazı alın. |
String
|
getTestModule()
|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
|
void
|
setCollectTestsOnly(boolean shouldCollectTest)
Test toplama modunu etkinleştirir veya devre dışı bırakır. |
void
|
setDevice(ITestDevice device)
Test edilen cihazı yerleştirin. |
void
|
setModuleName(String name)
|
Herkese açık oluşturucular
RustBinaryTest
public RustBinaryTest ()
Herkese açık yöntemler
getDevice
public ITestDevice getDevice ()
Test edilecek cihazı alın.
| İadeler | |
|---|---|
ITestDevice |
ITestDevice |
getTestModule
public String getTestModule ()
| İadeler | |
|---|---|
String |
|
run
public void run (TestInformation testInfo, ITestInvocationListener listener)
| Parametreler | |
|---|---|
testInfo |
TestInformation |
listener |
ITestInvocationListener |
| Verdiği hatalar | |
|---|---|
DeviceNotAvailableException |
|
setCollectTestsOnly
public void setCollectTestsOnly (boolean shouldCollectTest)
Test toplama modunu etkinleştirir veya devre dışı bırakır.
setDevice
public void setDevice (ITestDevice device)
Test edilen cihazı yerleştirin.
| Parametreler | |
|---|---|
device |
ITestDevice: kullanılacak ITestDevice |
setModuleName
public void setModuleName (String name)
| Parametreler | |
|---|---|
name |
String |