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.
SubprocessEventHelper.FailedTestEventInfo
public
static
class
SubprocessEventHelper.FailedTestEventInfo
extends SubprocessEventHelper.BaseTestEventInfo
Helper for testFailed information.
Summary
Fields
mFailure
public FailureDescription mFailure
mTrace
public String mTrace
Public constructors
FailedTestEventInfo
public FailedTestEventInfo (String className,
String testName,
String trace)
Parameters |
className |
String |
testName |
String |
trace |
String |
FailedTestEventInfo
public FailedTestEventInfo (String className,
String testName,
FailureDescription failure)
Parameters |
className |
String |
testName |
String |
failure |
FailureDescription |
FailedTestEventInfo
public FailedTestEventInfo (JSONObject jsonObject)
Parameters |
jsonObject |
JSONObject |
Public methods
toString
public String toString ()
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 2022-08-03 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 2022-08-03 UTC."],[],[],null,["# SubprocessEventHelper.FailedTestEventInfo\n=========================================\n\n\n`\npublic\nstatic\n\n\nclass\nSubprocessEventHelper.FailedTestEventInfo\n`\n\n\n`\n\n\n`\n\n`\n\nextends `[SubprocessEventHelper.BaseTestEventInfo](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.BaseTestEventInfo.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|---------------------------------------------------------------------|\n| java.lang.Object |||\n| ↳ | [com.android.tradefed.util.SubprocessEventHelper.BaseTestEventInfo](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.BaseTestEventInfo.html) ||\n| | ↳ | com.android.tradefed.util.SubprocessEventHelper.FailedTestEventInfo |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nHelper for testFailed information.\n\nSummary\n-------\n\n| ### Fields ||\n|------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| ` public FailureDescription` | [mFailure](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.FailedTestEventInfo.html#mFailure) |\n| ` public String` | [mTrace](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.FailedTestEventInfo.html#mTrace) |\n\n| ### Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[FailedTestEventInfo](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.FailedTestEventInfo.html#FailedTestEventInfo(java.lang.String,%20java.lang.String,%20java.lang.String))`(String className, String testName, String trace) ` |\n| ` `[FailedTestEventInfo](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.FailedTestEventInfo.html#FailedTestEventInfo(java.lang.String,%20java.lang.String,%20com.android.tradefed.result.FailureDescription))`(String className, String testName, FailureDescription failure) ` |\n| ` `[FailedTestEventInfo](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.FailedTestEventInfo.html#FailedTestEventInfo(org.json.JSONObject))`(JSONObject jsonObject) ` |\n\n| ### Public methods ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| ` String` | ` `[toString](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.FailedTestEventInfo.html#toString())`() ` |\n\nFields\n------\n\n### mFailure\n\n```\npublic FailureDescription mFailure\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### mTrace\n\n```\npublic String mTrace\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic constructors\n-------------------\n\n### FailedTestEventInfo\n\n```\npublic FailedTestEventInfo (String className, \n String testName, \n String trace)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|-----------------|\n| `className` | `String` \u003cbr /\u003e |\n| `testName` | `String` \u003cbr /\u003e |\n| `trace` | `String` \u003cbr /\u003e |\n\n### FailedTestEventInfo\n\n```\npublic FailedTestEventInfo (String className, \n String testName, \n FailureDescription failure)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|-----------------------------|\n| `className` | `String` \u003cbr /\u003e |\n| `testName` | `String` \u003cbr /\u003e |\n| `failure` | `FailureDescription` \u003cbr /\u003e |\n\n### FailedTestEventInfo\n\n```\npublic FailedTestEventInfo (JSONObject jsonObject)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------|---------------------|\n| `jsonObject` | `JSONObject` \u003cbr /\u003e |\n\n| Throws ||\n|-----------------|---|\n| `JSONException` | |\n\nPublic methods\n--------------\n\n### toString\n\n```\npublic String toString ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |"]]