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

IReportNotExecuted

public interface IReportNotExecuted

com.android.tradefed.testtype.IReportNotExecuted


In case of an incomplete execution, IRemoteTest that implements this interface may report their non-executed tests for improved reporting.

Summary

Constants

String NOT_EXECUTED_FAILURE

Public methods

default void reportNotExecuted(ITestInvocationListener listener)

Report the non-executed tests to the main listener provided.

default void reportNotExecuted(ITestInvocationListener listener, String message)

Report the non-executed tests to the main listener provided.

Constants

NOT_EXECUTED_FAILURE

public static final String NOT_EXECUTED_FAILURE

Constant Value: "Test did not run. This is a placeholder."

Public methods

reportNotExecuted

public void reportNotExecuted (ITestInvocationListener listener)

Report the non-executed tests to the main listener provided. They should be reported as failed with the NOT_EXECUTED_FAILURE message.

Parameters
listener ITestInvocationListener: the main listener where to report the non-executed results.

reportNotExecuted

public void reportNotExecuted (ITestInvocationListener listener, 
                String message)

Report the non-executed tests to the main listener provided. They should be reported as failed with the NOT_EXECUTED_FAILURE message.

Parameters
listener ITestInvocationListener: the main listener where to report the non-executed results.

message String: the message to be associated with the non-executed failure.