ITestSummaryListener

public interface ITestSummaryListener
implements ITestInvocationListener

com.android.tradefed.result.ITestSummaryListener


Interface that allows ITestInvocationListener to exchange some limited information via summaries.

Summary

Public methods

default void putEarlySummary(List<TestSummary> summaries)

Passes a List of non-null TestSummarys which may have been returned from any ITestInvocationListeners instantiated as part of the configuration.

default void putSummary(List<TestSummary> summaries)

Passes a List of non-null TestSummarys which may have been returned from any ITestInvocationListeners instantiated as part of the configuration.

Public methods

putEarlySummary

public void putEarlySummary (List<TestSummary> summaries)

Passes a List of non-null TestSummarys which may have been returned from any ITestInvocationListeners instantiated as part of the configuration. The early summaries are generated after invocationStarted(IInvocationContext) and can be completed at the end of the invocation via putSummary(List).

This is called before invocationStarted(IInvocationContext) and contains all the summaries from the listeners configured before it.

Parameters
summaries List: A List of non-null TestSummarys from ITestInvocationListeners that are part of the current configuration.

putSummary

public void putSummary (List<TestSummary> summaries)

Passes a List of non-null TestSummarys which may have been returned from any ITestInvocationListeners instantiated as part of the configuration.

Parameters
summaries List: A List of non-null TestSummarys from ITestInvocationListeners that are part of the current configuration.