ReportPassedTests
public
class
ReportPassedTests
extends CollectingTestListener
implements
IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.result.CollectingTestListener | |
↳ | com.android.tradefed.result.ReportPassedTests |
Report in a file possible filters to exclude passed test.
Summary
Public constructors | |
---|---|
ReportPassedTests()
|
Public methods | |
---|---|
void
|
invocationEnded(long elapsedTime)
Reports that the invocation has terminated, whether successfully or due to some error condition. |
void
|
invocationFailed(FailureDescription failure)
|
void
|
setConfiguration(IConfiguration configuration)
Injects the |
void
|
setLogger(ITestLogger logger)
|
void
|
testModuleEnded()
Reports the end of a module run. |
void
|
testModuleStarted(IInvocationContext moduleContext)
Reports the beginning of a module running. |
void
|
testRunEnded(long elapsedTime,
Reports end of test run. |
Public constructors
ReportPassedTests
public ReportPassedTests ()
Public methods
invocationEnded
public void invocationEnded (long elapsedTime)
Reports that the invocation has terminated, whether successfully or due to some error condition.
Will be automatically called by the TradeFederation framework.Parameters | |
---|---|
elapsedTime |
long : the elapsed time of the invocation in ms |
invocationFailed
public void invocationFailed (FailureDescription failure)
Parameters | |
---|---|
failure |
FailureDescription |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injects the IConfiguration
in use.
Parameters | |
---|---|
configuration |
IConfiguration |
testModuleEnded
public void testModuleEnded ()
Reports the end of a module run.
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
Reports the beginning of a module running. This callback is associated with testModuleEnded()
and is optional in the sequence. It is only used during a run that uses
modules: suite based runners.
Parameters | |
---|---|
moduleContext |
IInvocationContext : the IInvocationContext of the module. |
testRunEnded
public void testRunEnded (long elapsedTime,runMetrics)
Reports end of test run. FIXME: We cannot have two Map<> interfaces with different type, so we have to use HashMap here.
Parameters | |
---|---|
elapsedTime |
long : device reported elapsed time, in milliseconds |
runMetrics |
: key-value pairs reported at the end of a test run with Metric . |