Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
SubprocessEventHelper.FailedTestEventInfo
public
static
class
SubprocessEventHelper.FailedTestEventInfo
extends SubprocessEventHelper.BaseTestEventInfo
Pomoc dotycząca informacji o testFailed.
Podsumowanie
Fieldsem
mFailure
public FailureDescription mFailure
mTrace
public String mTrace
Konstruktory publiczne
FailedTestEventInfo
public FailedTestEventInfo (String className,
String testName,
String trace)
Parametry |
className |
String |
testName |
String |
trace |
String |
FailedTestEventInfo
public FailedTestEventInfo (String className,
String testName,
FailureDescription failure)
Parametry |
className |
String |
testName |
String |
failure |
FailureDescription |
FailedTestEventInfo
public FailedTestEventInfo (JSONObject jsonObject)
Parametry |
jsonObject |
JSONObject |
Metody publiczne
toString
public String toString ()
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-27 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 |"]]