TestRunToTestInvocationForwarder
public
class
TestRunToTestInvocationForwarder
extends Object
implements
ITestRunListener
Objeto java.lang. | |
↳ | com.android.tradefed.result.ddmlib.TestRunToTestInvocationForwarder |
Reenvío de ddmlib ITestRunListener
a ITestLifeCycleReceiver
. Es la interfaz que garantiza la conversión de resultados de la interfaz de ddmlib a la interfaz de Tradefed.
La interfaz de 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(
|
Métodos públicos | |
---|---|
void
|
testAssumptionFailure(TestIdentifier testId, String trace)
|
void
|
testEnded(TestIdentifier testId,
|
void
|
testFailed(TestIdentifier testId, String trace)
|
void
|
testIgnored(TestIdentifier testId)
|
void
|
testRunEnded(long elapsedTime,
|
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
TestRunToTestInvocationForwarder
public TestRunToTestInvocationForwarder (listeners)
Parámetros | |
---|---|
listeners |
|
Métodos públicos
testAssumptionFailure
public void testAssumptionFailure (TestIdentifier testId, String trace)
Parámetros | |
---|---|
testId |
TestIdentifier |
trace |
String |
testEnded
public void testEnded (TestIdentifier testId,testMetrics)
Parámetros | |
---|---|
testId |
TestIdentifier |
testMetrics |
|
testFailed
public void testFailed (TestIdentifier testId, String trace)
Parámetros | |
---|---|
testId |
TestIdentifier |
trace |
String |
testIgnored
public void testIgnored (TestIdentifier testId)
Parámetros | |
---|---|
testId |
TestIdentifier |
testRunEnded
public void testRunEnded (long elapsedTime,runMetrics)
Parámetros | |
---|---|
elapsedTime |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (String failure)
Parámetros | |
---|---|
failure |
String |
pruebaRunStarted
public void testRunStarted (String runName, int testCount)
Parámetros | |
---|---|
runName |
String |
testCount |
int |
testRunDetenida
public void testRunStopped (long elapsedTime)
Parámetros | |
---|---|
elapsedTime |
long |
testStarted
public void testStarted (TestIdentifier testId)
Parámetros | |
---|---|
testId |
TestIdentifier |