Google is committed to advancing racial equity for Black communities. See how.
Cette page a été traduite par l'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


Une implémentation figée du rapporteur de résultats de sous-processus qui devrait rester compatible avec les versions antérieures de TF / CTS (par exemple 8+), malgré les changements dans sa superclasse.

Sommaire

Constructeurs publics

LegacySubprocessResultsReporter ()

Méthodes publiques

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)

Constructeurs publics

LegacySubprocessResultsReporter

public LegacySubprocessResultsReporter ()

Méthodes publiques

invocationEnded

public void invocationEnded (long elapsedTime)

Paramètres
elapsedTime long

invocationFailed

public void invocationFailed (Throwable cause)

Paramètres
cause Throwable

invocationStarted

public void invocationStarted (IBuildInfo buildInfo)

Paramètres
buildInfo IBuildInfo

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Paramètres
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

Paramètres
logSaver ILogSaver

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

Paramètres
testId TestIdentifier

trace String

testEnded

public void testEnded (TestIdentifier testId, 
                 metrics)

Paramètres
testId TestIdentifier

metrics

testEnded

public void testEnded (TestIdentifier testId, 
                long endTime, 
                 metrics)

Paramètres
testId TestIdentifier

endTime long

metrics

test échoué

public void testFailed (TestIdentifier testId, 
                String reason)

Paramètres
testId TestIdentifier

reason String

testIgnoré

public void testIgnored (TestIdentifier testId)

Paramètres
testId TestIdentifier

testLogSaved

public void testLogSaved (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream, 
                LogFile logFile)

Paramètres
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Paramètres
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long time, 
                 runMetrics)

Paramètres
time long

runMetrics

testRunFailed

public void testRunFailed (String reason)

Paramètres
reason String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

Paramètres
runName String

testCount int

testStarted

public void testStarted (TestIdentifier testId)

Paramètres
testId TestIdentifier

testStarted

public void testStarted (TestIdentifier testId, 
                long startTime)

Paramètres
testId TestIdentifier

startTime long