Test pośredni
public class StubTest
extends Object
implements IShardableTest , IConfigurationReceiver , IAbiReceiver
Obiekt Java.lang.Object |
↳ | com.android.tradefed.testtype.StubTest |
Implementacja pustego testu bez operacji.
Streszczenie
Pola
DNAE_MESSAGE
public static final String DNAE_MESSAGE
Konstruktorzy publiczni
Test pośredni
public StubTest ()
Metody publiczne
weźAbi
public IAbi getAbi ()
getRunTest
public boolean getRunTest ()
public void run (TestInformation testInfo,
ITestInvocationListener listener)
Parametry |
---|
testInfo | TestInformation |
listener | ITestInvocationListener |
Rzuca |
---|
DeviceNotAvailableException | |
ustawAbi
public void setAbi (IAbi abi)
ustaw konfigurację
public void setConfiguration (IConfiguration configuration)
Wstrzykuje używaną IConfiguration
.
Parametry |
---|
configuration | IConfiguration |
podział
public split ()
Podziel test na oddzielnie uruchamialne fragmenty.
Musi to być deterministyczne i zawsze zwracać tę samą listę IRemoteTest
s dla tego samego wejścia.
Zostanie to wywołane przed wykonaniem testu, więc wstrzyknięte zależności (takie jak ITestDevice
dla IDeviceTest
s) mogą mieć wartość null.
Zwroty |
---|
| zbiór podtestów, które mają być wykonane osobno lub mają wartość null , jeśli testu nie można obecnie podzielić |
doString
public String toString ()