FakeTest
public
class
FakeTest
extends Object
implements
IDeviceTest,
IRemoteTest
java.lang.Object | |
↳ | com.android.tradefed.testtype.FakeTest |
Test symulowany, którego celem jest ułatwienie generowania powtarzalnych wyników testów.
Podsumowanie
Konstruktory publiczne | |
---|---|
FakeTest()
|
Metody publiczne | |
---|---|
ITestDevice
|
getDevice()
Przygotuj urządzenie do testowania. |
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
|
void
|
setDevice(ITestDevice device)
Wstrzyknij urządzenie testowe. |
Konstruktory publiczne
FakeTest
public FakeTest ()
Metody publiczne
getDevice
public ITestDevice getDevice ()
Przygotuj urządzenie do testowania.
Zwroty | |
---|---|
ITestDevice |
ITestDevice
|
home run
public void run (TestInformation testInfo, ITestInvocationListener listener)
Parametry | |
---|---|
testInfo |
TestInformation |
listener |
ITestInvocationListener |
Rzuty | |
---|---|
DeviceNotAvailableException |
setDevice
public void setDevice (ITestDevice device)
Wstrzyknij urządzenie testowe.
Parametry | |
---|---|
device |
ITestDevice : ITestDevice do użycia
|