Google is committed to advancing racial equity for Black communities. See how.

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( summaries)

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

default void putSummary( summaries)

Passes a ERROR(/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 ( summaries)

Passes a ERROR(/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 ITestInvocationListener.invocationStarted(com.android.tradefed.invoker.IInvocationContext) and can be completed at the end of the invocation via ERROR(/#putSummary(List)).

This is called before ITestInvocationListener.invocationStarted(com.android.tradefed.invoker.IInvocationContext) and contains all the summaries from the listeners configured before it.

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

putSummary

public void putSummary ( summaries)

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

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