Invocación a JUnitResultForwarder
public class InvocationToJUnitResultForwarder
extends Object
implements ITestInvocationListener
java.lang.Objeto |
↳ | com.android.tradefed.result.InvocationToJUnitResultForwarder |
Subclases directas conocidas |
Una clase que escucha eventos ITestInvocationListener
y los reenvía a TestListener
.
Resumen
Constructores públicos
Invocación a JUnitResultForwarder
public InvocationToJUnitResultForwarder (TestListener junitListener)
Parámetros |
---|
junitListener | TestListener |
Métodos públicos
obtener resumen
public TestSummary getSummary ()
invocaciónFinalizada
public void invocationEnded (long elapsedTime)
Parámetros |
---|
elapsedTime | long |
invocación fallida
public void invocationFailed (Throwable cause)
Parámetros |
---|
cause | Throwable |
invocaciónIniciada
public void invocationStarted (IInvocationContext context)
Parámetros |
---|
context | IInvocationContext |
pruebaSuposiciónFracaso
public void testAssumptionFailure (TestDescription testId,
String trace)
Parámetros |
---|
testId | TestDescription |
trace | String |
pruebafinalizada
public void testEnded (TestDescription test,
testMetrics)
Parámetros |
---|
test | TestDescription |
testMetrics | |
prueba fallida
public void testFailed (TestDescription testId,
String trace)
Parámetros |
---|
testId | TestDescription |
trace | String |
pruebaIgnorado
public void testIgnored (TestDescription test)
Parámetros |
---|
test | TestDescription |
public void testLog (String dataName,
LogDataType logData,
InputStreamSource dataStream)
Parámetros |
---|
dataName | String |
logData | LogDataType |
dataStream | InputStreamSource |
pruebaRunEnded
public void testRunEnded (long elapsedTime,
runMetrics)
Parámetros |
---|
elapsedTime | long |
runMetrics | |
prueba de ejecución fallida
public void testRunFailed (String errorMessage)
Parámetros |
---|
errorMessage | 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 (TestDescription test)
Parámetros |
---|
test | TestDescription |
Métodos protegidos
getJUnitListener
protected TestListener getJUnitListener ()
Devoluciones |
---|
TestListener | |