TestRunToTestInvocationReenviador

public class TestRunToTestInvocationForwarder
extends Object implements ITestRunListener

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


Reenviador de ddmlib ITestRunListener a ITestLifeCycleReceiver . Interfaz que garantiza la conversión de resultados de la interfaz ddmlib a la interfaz Tradefed.

La interfaz Ddmlib está vinculada a la ejecución de pruebas de instrumentación.

Resumen

Campos

public static final String ERROR_MESSAGE_FORMAT

Constructores públicos

TestRunToTestInvocationForwarder ( listeners) TestRunToTestInvocationForwarder ( listeners)

Métodos públicos

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

Campos

ERROR_MESSAGE_FORMAT

public static final String ERROR_MESSAGE_FORMAT

Constructores públicos

TestRunToTestInvocationReenviador

public TestRunToTestInvocationForwarder ( listeners)

Parámetros
listeners

Métodos públicos

pruebaSuposiciónFracaso

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

Parámetros
testId TestIdentifier

trace String

pruebafinalizada

public void testEnded (TestIdentifier testId, 
                 testMetrics)

Parámetros
testId TestIdentifier

testMetrics

prueba fallida

public void testFailed (TestIdentifier testId, 
                String trace)

Parámetros
testId TestIdentifier

trace String

pruebaIgnorado

public void testIgnored (TestIdentifier testId)

Parámetros
testId TestIdentifier

pruebaRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

Parámetros
elapsedTime long

runMetrics

prueba de ejecución fallida

public void testRunFailed (String failure)

Parámetros
failure String

pruebaRunStarted

public void testRunStarted (String runName, 
                int testCount)

Parámetros
runName String

testCount int

pruebaEjecutarDetenido

public void testRunStopped (long elapsedTime)

Parámetros
elapsedTime long

pruebaIniciada

public void testStarted (TestIdentifier testId)

Parámetros
testId TestIdentifier