ReportPassedTests

public class ReportPassedTests
extends CollectingTestListener implements IConfigurationReceiver

java.lang.Object
   ↳ com.android.tradefed.result.CollectingTestListener
     ↳ com.android.tradefed.result.ReportPassedTests


在文件中报告可能的过滤条件,以排除已通过的测试。

摘要

公共构造函数

ReportPassedTests()

公共方法

void invocationEnded(long elapsedTime)

void invocationFailed(FailureDescription failure)
void setConfiguration(IConfiguration configuration)

注入正在使用的 IConfiguration

void setLogger(ITestLogger logger)
void testModuleEnded()
void testModuleStarted(IInvocationContext moduleContext)
void testRunEnded(long elapsedTime, runMetrics)

公共构造函数

ReportPassedTests

public ReportPassedTests ()

公共方法

invocationEnded

public void invocationEnded (long elapsedTime)

参数
elapsedTime long

invocationFailed

public void invocationFailed (FailureDescription failure)

参数
failure FailureDescription

setConfiguration

public void setConfiguration (IConfiguration configuration)

注入正在使用的 IConfiguration

参数
configuration IConfiguration

setLogger

public void setLogger (ITestLogger logger)

参数
logger ITestLogger

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

参数
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

参数
elapsedTime long

runMetrics