A partir del 27 de marzo de 2025, te recomendamos que uses android-latest-release
en lugar de aosp-main
para compilar y contribuir a AOSP. Para obtener más información, consulta Cambios en AOSP.
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
LegacySubprocessResultsReporter
public
final
class
LegacySubprocessResultsReporter
extends SubprocessResultsReporter
Una implementación inmovilizada del generador de informes de resultados de subprocesos que debería seguir siendo compatible con versiones anteriores de TF/CTS (p.ej., 8 y versiones posteriores), a pesar de los cambios en su superclase.
Este generador de informes se puede insertar de forma dinámica para habilitar la función de informes de subprocesos en los conjuntos de pruebas antiguos basados en TF.
Resumen
Métodos públicos |
void
|
invocationEnded(long elapsedTime)
|
void
|
invocationFailed(Throwable cause)
|
void
|
invocationStarted(IBuildInfo buildInfo)
|
void
|
logAssociation(String dataName, LogFile logFile)
|
void
|
setLogSaver(ILogSaver logSaver)
|
void
|
testAssumptionFailure(TestIdentifier testId, String trace)
|
void
|
testEnded(TestIdentifier testId, metrics)
|
void
|
testEnded(TestIdentifier testId, long endTime, metrics)
|
void
|
testFailed(TestIdentifier testId, String reason)
|
void
|
testIgnored(TestIdentifier testId)
|
void
|
testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
|
void
|
testModuleEnded()
|
void
|
testModuleStarted(IInvocationContext moduleContext)
|
void
|
testRunEnded(long time, runMetrics)
|
void
|
testRunFailed(String reason)
|
void
|
testRunStarted(String runName, int testCount)
|
void
|
testStarted(TestIdentifier testId)
|
void
|
testStarted(TestIdentifier testId, long startTime)
|
Constructores públicos
LegacySubprocessResultsReporter
public LegacySubprocessResultsReporter ()
Métodos públicos
invocationEnded
public void invocationEnded (long elapsedTime)
Parámetros |
elapsedTime |
long |
invocationFailed
public void invocationFailed (Throwable cause)
Parámetros |
cause |
Throwable |
invocationStarted
public void invocationStarted (IBuildInfo buildInfo)
Parámetros |
buildInfo |
IBuildInfo |
logAssociation
public void logAssociation (String dataName,
LogFile logFile)
Parámetros |
dataName |
String |
logFile |
LogFile |
setLogSaver
public void setLogSaver (ILogSaver logSaver)
Parámetros |
logSaver |
ILogSaver |
testAssumptionFailure
public void testAssumptionFailure (TestIdentifier testId,
String trace)
Parámetros |
testId |
TestIdentifier |
trace |
String |
testEnded
public void testEnded (TestIdentifier testId,
metrics)
Parámetros |
testId |
TestIdentifier |
metrics |
|
testEnded
public void testEnded (TestIdentifier testId,
long endTime,
metrics)
Parámetros |
testId |
TestIdentifier |
endTime |
long |
metrics |
|
testFailed
public void testFailed (TestIdentifier testId,
String reason)
Parámetros |
testId |
TestIdentifier |
reason |
String |
testIgnored
public void testIgnored (TestIdentifier testId)
Parámetros |
testId |
TestIdentifier |
public void testLogSaved (String dataName,
LogDataType dataType,
InputStreamSource dataStream,
LogFile logFile)
Parámetros |
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStreamSource |
logFile |
LogFile |
testModuleEnded
public void testModuleEnded ()
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
Parámetros |
moduleContext |
IInvocationContext |
testRunEnded
public void testRunEnded (long time,
runMetrics)
Parámetros |
time |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (String reason)
testRunStarted
public void testRunStarted (String runName,
int testCount)
Parámetros |
runName |
String |
testCount |
int |
testStarted
public void testStarted (TestIdentifier testId)
Parámetros |
testId |
TestIdentifier |
testStarted
public void testStarted (TestIdentifier testId,
long startTime)
Parámetros |
testId |
TestIdentifier |
startTime |
long |
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-03-26 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-03-26 (UTC)"],[],[]]