Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 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