ResultsPlayer

public final class ResultsPlayer
extends Object implements IConfigurationReceiver, IRemoteTest

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.retry.ResultsPlayer


Specjalny runner, który odtwarza podane mu wyniki.

Podsumowanie

Fieldsem

public static final String REPLAY_DONE

Konstruktory publiczne

ResultsPlayer()

Konstruktor.

ResultsPlayer(boolean completed)

Metody publiczne

boolean completed()

Zwraca wartość wskazującą, czy odtwarzanie wyników przez funkcję ResultsReplayer zostało zakończone.

void run(TestInformation testInfo, ITestInvocationListener listener)

Przeprowadza testy i przekazuje wyniki do odbiorcy.

void setConfiguration(IConfiguration configuration)

Wstrzykuje IConfiguration w użyciu.

Fieldsem

REPLAY_DONE

public static final String REPLAY_DONE

Konstruktory publiczne

ResultsPlayer

public ResultsPlayer ()

Konstruktor.

ResultsPlayer

public ResultsPlayer (boolean completed)

Parametry
completed boolean

Metody publiczne

ukończono

public boolean completed ()

Zwraca wartość wskazującą, czy odtwarzanie wyników przez funkcję ResultsReplayer zostało zakończone.

Zwroty
boolean

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

setConfiguration

public void setConfiguration (IConfiguration configuration)

Wstrzykuje IConfiguration w użyciu.

Parametry
configuration IConfiguration