Google is committed to advancing racial equity for Black communities. See how.
Questa pagina è stata tradotta dall'API Cloud Translation.
Switch to English

LegacySubprocessResultsReporter

public final class LegacySubprocessResultsReporter
extends SubprocessResultsReporter

java.lang.Object
com.android.tradefed.result.SubprocessResultsReporter
com.android.tradefed.result.LegacySubprocessResultsReporter


Un'implementazione congelata del reporter dei risultati del sottoprocesso che dovrebbe rimanere compatibile con le versioni precedenti di TF / CTS (es. 8+), nonostante i cambiamenti nella sua superclasse.

Sommario

Costruttori pubblici

LegacySubprocessResultsReporter ()

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) testEnded (TestIdentifier testId, metrics)
void testEnded (TestIdentifier testId, long endTime, metrics) 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) 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

testLogSaved

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)

Parametri
reason String

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