Google is committed to advancing racial equity for Black communities. See how.
本頁面由 Cloud Translation API 翻譯而成。
Switch to English

LegacySubprocessResultsReporter

public final class LegacySubprocessResultsReporter
extends SubprocessResultsReporter

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


子流程的凍結實現會導致報告程序,儘管其超類有所更改,該報告程序仍應與TF / CTS的早期版本(例如8+)兼容。

摘要

公共建設者

LegacySubprocessResultsReporter ()

公開方法

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)

公共建設者

LegacySubprocessResultsReporter

public LegacySubprocessResultsReporter ()

公開方法

調用結束

public void invocationEnded (long elapsedTime)

參量
elapsedTime long

調用失敗

public void invocationFailed (Throwable cause)

參量
cause Throwable

調用開始

public void invocationStarted (IBuildInfo buildInfo)

參量
buildInfo IBuildInfo

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

參量
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

參量
logSaver ILogSaver

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

參量
testId TestIdentifier

trace String

testEnded

public void testEnded (TestIdentifier testId, 
                 metrics)

參量
testId TestIdentifier

metrics

testEnded

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

參量
testId TestIdentifier

endTime long

metrics

測試失敗

public void testFailed (TestIdentifier testId, 
                String reason)

參量
testId TestIdentifier

reason String

testIgnored

public void testIgnored (TestIdentifier testId)

參量
testId TestIdentifier

testLogSaved

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

參量
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

參量
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long time, 
                 runMetrics)

參量
time long

runMetrics

testRunFailed

public void testRunFailed (String reason)

參量
reason String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

參量
runName String

testCount int

testStarted

public void testStarted (TestIdentifier testId)

參量
testId TestIdentifier

testStarted

public void testStarted (TestIdentifier testId, 
                long startTime)

參量
testId TestIdentifier

startTime long