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

ResultAndLogForwarder

public class ResultAndLogForwarder
extends ResultForwarder implements ILogSaverListener

java.lang.Object
com.android.tradefed.result.ResultForwarder
com.android.tradefed.result.ResultAndLogForwarder


結果和日誌事件的轉發器。

摘要

公共建設者

ResultAndLogForwarder ( listeners) ResultAndLogForwarder ( listeners)

Ctor

公開方法

void invocationEnded (long elapsedTime)

void invocationStarted (IInvocationContext context)

void logAssociation (String dataName, LogFile logFile)
void setLogSaver (ILogSaver logSaver)
void testLogSaved (String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)

公共建設者

ResultAndLogForwarder

public ResultAndLogForwarder ( listeners)

Ctor

參量
listeners

公開方法

調用結束

public void invocationEnded (long elapsedTime)

參量
elapsedTime long

調用開始

public void invocationStarted (IInvocationContext context)

參量
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

參量
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

參量
logSaver ILogSaver

testLogSaved

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

參量
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile