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