A partire dal 27 marzo 2025, ti consigliamo di utilizzare android-latest-release
anziché aosp-main
per compilare e contribuire ad AOSP. Per ulteriori informazioni, vedi Modifiche ad AOSP.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
LegacySubprocessResultsReporter
public
final
class
LegacySubprocessResultsReporter
extends SubprocessResultsReporter
Un'implementazione bloccata del report sui risultati del sottoprocesso che dovrebbe rimanere compatibile con le versioni precedenti di TF/CTS (ad es. 8 e versioni successive), nonostante le modifiche al superclasse.
Questo reporter può essere inserito dinamicamente per attivare la funzionalità di generazione di report sui sottoprocessi nelle vecchie suite di test basate su TF.
Riepilogo
Metodi pubblici |
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)
|
Costruttori pubblici
LegacySubprocessResultsReporter
public LegacySubprocessResultsReporter ()
Metodi pubblici
invocationEnded
public void invocationEnded (long elapsedTime)
Parametri |
elapsedTime |
long |
invocationFailed
public void invocationFailed (Throwable cause)
Parametri |
cause |
Throwable |
invocationStarted
public void invocationStarted (IBuildInfo buildInfo)
Parametri |
buildInfo |
IBuildInfo |
logAssociation
public void logAssociation (String dataName,
LogFile logFile)
Parametri |
dataName |
String |
logFile |
LogFile |
setLogSaver
public void setLogSaver (ILogSaver logSaver)
Parametri |
logSaver |
ILogSaver |
testAssumptionFailure
public void testAssumptionFailure (TestIdentifier testId,
String trace)
Parametri |
testId |
TestIdentifier |
trace |
String |
testEnded
public void testEnded (TestIdentifier testId,
metrics)
Parametri |
testId |
TestIdentifier |
metrics |
|
testEnded
public void testEnded (TestIdentifier testId,
long endTime,
metrics)
Parametri |
testId |
TestIdentifier |
endTime |
long |
metrics |
|
testFailed
public void testFailed (TestIdentifier testId,
String reason)
Parametri |
testId |
TestIdentifier |
reason |
String |
testIgnored
public void testIgnored (TestIdentifier testId)
Parametri |
testId |
TestIdentifier |
public void testLogSaved (String dataName,
LogDataType dataType,
InputStreamSource dataStream,
LogFile logFile)
Parametri |
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStreamSource |
logFile |
LogFile |
testModuleEnded
public void testModuleEnded ()
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
Parametri |
moduleContext |
IInvocationContext |
testRunEnded
public void testRunEnded (long time,
runMetrics)
Parametri |
time |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (String reason)
testRunStarted
public void testRunStarted (String runName,
int testCount)
Parametri |
runName |
String |
testCount |
int |
testStarted
public void testStarted (TestIdentifier testId)
Parametri |
testId |
TestIdentifier |
testStarted
public void testStarted (TestIdentifier testId,
long startTime)
Parametri |
testId |
TestIdentifier |
startTime |
long |
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-03-26 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-03-26 UTC."],[],[]]