Google 致力于为黑人社区推动种族平等。查看具体举措

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.