FakeTest
public
class
FakeTest
extends Object
implements
IDeviceTest,
IRemoteTest
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.FakeTest |
Tekrarlanabilir test sonuçları oluşturmayı kolaylaştırmak amacıyla oluşturulan sahte test.
Özet
Herkese açık kurucular | |
|---|---|
FakeTest()
|
|
Herkese açık yöntemler | |
|---|---|
ITestDevice
|
getDevice()
Test cihazını alın. |
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
Testleri çalıştırır ve sonucu dinleyiciye bildirir. |
void
|
setDevice(ITestDevice device)
Test edilen cihazı enjekte edin. |
Herkese açık kurucular
FakeTest
public FakeTest ()
Herkese açık yöntemler
çalıştır
public void run (TestInformation testInfo, ITestInvocationListener listener)
Testleri çalıştırır ve sonucu dinleyiciye bildirir.
| Parametreler | |
|---|---|
testInfo |
TestInformation: Test çalıştırmak için yararlı bilgiler içeren TestInformation nesnesi. |
listener |
ITestInvocationListener: test sonuçlarının ITestInvocationListener'ü |
| Atışlar | |
|---|---|
DeviceNotAvailableException |
|
setDevice
public void setDevice (ITestDevice device)
Test edilen cihazı enjekte edin.
| Parametreler | |
|---|---|
device |
ITestDevice: Kullanılacak ITestDevice |