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)
Przeprowadza testy i przekazuje wyniki do odbiorcy. |
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)
Przeprowadza testy i przekazuje wyniki do odbiorcy.
| Parametry | |
|---|---|
testInfo |
TestInformation: obiekt TestInformation zawierający przydatne informacje do przeprowadzania testów. |
listener |
ITestInvocationListener: ITestInvocationListener wyników testu |
| Rzuty | |
|---|---|
DeviceNotAvailableException |
|
setDevice
public void setDevice (ITestDevice device)
Wstrzyknij urządzenie testowe.
| Parametry | |
|---|---|
device |
ITestDevice: ITestDevice do użycia |