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


यह टेस्ट, दिए गए डिवाइस पर रस्ट बाइनरी चलाता है.

खास जानकारी

सार्वजनिक कंस्ट्रक्टर

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

रन

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