Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
IReportNotExecuted
public
interface
IReportNotExecuted
com.android.tradefed.testtype.IReportNotExecuted
|
Known indirect subclasses
|
In case of an incomplete execution, IRemoteTest
that implements this interface may report
their non-executed tests for improved reporting.
Summary
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. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-08 UTC."],[],[],null,["# IReportNotExecuted\n==================\n\n\n`\npublic\n\n\ninterface\nIReportNotExecuted\n`\n\n\n`\n\n\n`\n\n|--------------------------------------------------|\n| com.android.tradefed.testtype.IReportNotExecuted |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [AtestRunner](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/AtestRunner.html), [BaseTestSuite](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/BaseTestSuite.html), [ITestSuite](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/ITestSuite.html), [TestMappingSuiteRunner](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/TestMappingSuiteRunner.html), [TfSuiteRunner](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/TfSuiteRunner.html) |--------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [AtestRunner](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/AtestRunner.html) | Implementation of [ITestSuite](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/ITestSuite.html) | | [BaseTestSuite](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/BaseTestSuite.html) | A Test for running Compatibility Test Suite with new suite system. | | [ITestSuite](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/ITestSuite.html) | Abstract class used to run Test Suite. | | [TestMappingSuiteRunner](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/TestMappingSuiteRunner.html) | Implementation of [BaseTestSuite](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/BaseTestSuite.html) to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite. | | [TfSuiteRunner](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/TfSuiteRunner.html) | Implementation of [ITestSuite](../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/ITestSuite.html) which will load tests from TF jars res/config/suite/ folder. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nIn case of an incomplete execution, [IRemoteTest](../../../../../../reference/tradefed/com/android/tradefed/testtype/IRemoteTest.html) that implements this interface may report\ntheir non-executed tests for improved reporting.\n\nSummary\n-------\n\n| ### Constants ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| `String` | [NOT_EXECUTED_FAILURE](../../../../../../reference/tradefed/com/android/tradefed/testtype/IReportNotExecuted.html#NOT_EXECUTED_FAILURE) |\n\n| ### Public methods ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` default void` | ` `[reportNotExecuted](../../../../../../reference/tradefed/com/android/tradefed/testtype/IReportNotExecuted.html#reportNotExecuted(com.android.tradefed.result.ITestInvocationListener))`(`[ITestInvocationListener](../../../../../../reference/tradefed/com/android/tradefed/result/ITestInvocationListener.html)` listener) ` Report the non-executed tests to the main listener provided. |\n| ` default void` | ` `[reportNotExecuted](../../../../../../reference/tradefed/com/android/tradefed/testtype/IReportNotExecuted.html#reportNotExecuted(com.android.tradefed.result.ITestInvocationListener,%20java.lang.String))`(`[ITestInvocationListener](../../../../../../reference/tradefed/com/android/tradefed/result/ITestInvocationListener.html)` listener, String message) ` Report the non-executed tests to the main listener provided. |\n\nConstants\n---------\n\n### NOT_EXECUTED_FAILURE\n\n```\npublic static final String NOT_EXECUTED_FAILURE\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"Test did not run. This is a placeholder.\"\n\n\nPublic methods\n--------------\n\n### reportNotExecuted\n\n```\npublic void reportNotExecuted (ITestInvocationListener listener)\n```\n\nReport the non-executed tests to the main listener provided. They should be reported as\nfailed with the [NOT_EXECUTED_FAILURE](../../../../../../reference/tradefed/com/android/tradefed/testtype/IReportNotExecuted.html#NOT_EXECUTED_FAILURE) message.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|-----------------------------------------------------------------------------------------------|\n| `listener` | `ITestInvocationListener`: the main listener where to report the non-executed results. \u003cbr /\u003e |\n\n### reportNotExecuted\n\n```\npublic void reportNotExecuted (ITestInvocationListener listener, \n String message)\n```\n\nReport the non-executed tests to the main listener provided. They should be reported as\nfailed with the [NOT_EXECUTED_FAILURE](../../../../../../reference/tradefed/com/android/tradefed/testtype/IReportNotExecuted.html#NOT_EXECUTED_FAILURE) message.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|-----------------------------------------------------------------------------------------------|\n| `listener` | `ITestInvocationListener`: the main listener where to report the non-executed results. \u003cbr /\u003e |\n| `message` | `String`: the message to be associated with the non-executed failure. \u003cbr /\u003e |"]]