Sahte Test

public class FakeTest
extends Object implements IDeviceTest , IRemoteTest

java.lang.Object
com.android.tradefed.testtype.FakeTest


Amacı tekrarlanabilir test sonuçları elde etmeyi kolaylaştırmak olan sahte bir test.

Özet

Kamu inşaatçıları

FakeTest ()

Genel yöntemler

ITestDevice getDevice ()

Cihazı teste tabi tutun.

void run (TestInformation testInfo, ITestInvocationListener listener)

void setDevice (ITestDevice device)

Test edilen cihazı enjekte edin.

Kamu inşaatçıları

Sahte Test

public FakeTest ()

Genel yöntemler

cihaz al

public ITestDevice getDevice ()

Cihazı teste tabi tutun.

İadeler
ITestDevice ITestDevice

koşmak

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Parametreler
testInfo TestInformation

listener ITestInvocationListener

Atar
DeviceNotAvailableException

setCihaz

public void setDevice (ITestDevice device)

Test edilen cihazı enjekte edin.

Parametreler
device ITestDevice : kullanılacak ITestDevice