ITestSummaryListener
public
interface
ITestSummaryListener
implements
ITestInvocationListener
| com.android.tradefed.result.ITestSummaryListener |
允许 ITestInvocationListener 通过摘要交换一些有限信息的接口。
摘要
公共方法 | |
|---|---|
default
void
|
putEarlySummary(
传递一个非 null |
default
void
|
putSummary(
传递一个非 null |
公共方法
putEarlySummary
public void putEarlySummary (summaries)
传递一个非 null TestSummary 的 ERROR(/List),该 ERROR(/List) 可能已从作为配置一部分实例化的任何 ITestInvocationListener 返回。早期摘要在 ITestInvocationListener.invocationStarted(com.android.tradefed.invoker.IInvocationContext) 之后生成,可通过 ERROR(/#putSummary(List)) 在调用结束时完成。
此方法在 ITestInvocationListener.invocationStarted(com.android.tradefed.invoker.IInvocationContext) 之前调用,包含之前配置的监听器中的所有摘要。
| 参数 | |
|---|---|
summaries |
:当前配置中 ITestInvocationListener 的非 null TestSummary 的 ERROR(/List)。 |
putSummary
public void putSummary (summaries)
传递一个非 null TestSummary 的 ERROR(/List),该 ERROR(/List) 可能已从作为配置一部分实例化的任何 ITestInvocationListener 返回。
| 参数 | |
|---|---|
summaries |
:当前配置中 ITestInvocationListener 的非 null TestSummary 的 ERROR(/List)。 |