TestRunToTestInvocationForwarder

public class TestRunToTestInvocationForwarder
extends Object implements ITestRunListener

java.lang.Object
com.android.tradefed.result.ddmlib.TestRunToTestInvocationForwarder


Przesyłanie z ddmlib ITestRunListener do ITestLifeCycleReceiver. Interfejs, który zapewnia konwersję wyników z interfejsu ddmlib na interfejs Tradefed.

Interfejs ddmlib jest powiązany z testami instrumentacji.

Podsumowanie

Fieldsem

public static final String ERROR_MESSAGE_FORMAT

Konstruktory publiczne

TestRunToTestInvocationForwarder( listeners)

Metody publiczne

void testAssumptionFailure(TestIdentifier testId, String trace)
void testEnded(TestIdentifier testId, testMetrics)
void testFailed(TestIdentifier testId, String trace)
void testIgnored(TestIdentifier testId)
void testRunEnded(long elapsedTime, runMetrics)
void testRunFailed(String failure)
void testRunStarted(String runName, int testCount)
void testRunStopped(long elapsedTime)
void testStarted(TestIdentifier testId)

Fieldsem

ERROR_MESSAGE_FORMAT

public static final String ERROR_MESSAGE_FORMAT

Konstruktory publiczne

Uruchomienie testówTestuInvocationForwarder

public TestRunToTestInvocationForwarder ( listeners)

Parametry
listeners

Metody publiczne

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

Parametry
testId TestIdentifier

trace String

testZakończony

public void testEnded (TestIdentifier testId, 
                 testMetrics)

Parametry
testId TestIdentifier

testMetrics

Niepowodzenie testu

public void testFailed (TestIdentifier testId, 
                String trace)

Parametry
testId TestIdentifier

trace String

testignorowany

public void testIgnored (TestIdentifier testId)

Parametry
testId TestIdentifier

Zakończono bieg testowy

public void testRunEnded (long elapsedTime, 
                 runMetrics)

Parametry
elapsedTime long

runMetrics

Niepowodzenie testu uruchomienia

public void testRunFailed (String failure)

Parametry
failure String

Uruchomiono test

public void testRunStarted (String runName, 
                int testCount)

Parametry
runName String

testCount int

Zatrzymano uruchomienie testu

public void testRunStopped (long elapsedTime)

Parametry
elapsedTime long

testStarted

public void testStarted (TestIdentifier testId)

Parametry
testId TestIdentifier