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.
public
static
class
TestInformation.Builder
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.invoker.TestInformation.Builder
|
Builder, aby utworzyć instancję TestInformation
.
Podsumowanie
Metody publiczne
setDependenciesFolder
public TestInformation.Builder setDependenciesFolder (File dependenciesFolder)
Parametry |
dependenciesFolder |
File |
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,["# TestInformation.Builder\n=======================\n\n\n`\npublic\nstatic\n\n\nclass\nTestInformation.Builder\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.invoker.TestInformation.Builder |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nBuilder to create a [TestInformation](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.html) instance.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` `[TestInformation](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.html) | ` `[build](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.Builder.html#build())`() ` |\n| ` `[TestInformation.Builder](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.Builder.html) | ` `[setDependenciesFolder](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.Builder.html#setDependenciesFolder(File))`(File dependenciesFolder) ` |\n| ` `[TestInformation.Builder](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.Builder.html) | ` `[setInvocationContext](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.Builder.html#setInvocationContext(com.android.tradefed.invoker.IInvocationContext))`(`[IInvocationContext](../../../../../../reference/tradefed/com/android/tradefed/invoker/IInvocationContext.html)` context) ` |\n\nPublic methods\n--------------\n\n### build\n\n```\npublic TestInformation build ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------------------------------------------------------------------------------------------------------|--------|\n| [TestInformation](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.html) | \u003cbr /\u003e |\n\n### setDependenciesFolder\n\n```\npublic TestInformation.Builder setDependenciesFolder (File dependenciesFolder)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------------------|---------------|\n| `dependenciesFolder` | `File` \u003cbr /\u003e |\n\n| Returns ||\n|---------------------------------------------------------------------------------------------------------------------------|--------|\n| [TestInformation.Builder](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.Builder.html) | \u003cbr /\u003e |\n\n### setInvocationContext\n\n```\npublic TestInformation.Builder setInvocationContext (IInvocationContext context)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------------------|\n| `context` | `IInvocationContext` \u003cbr /\u003e |\n\n| Returns ||\n|---------------------------------------------------------------------------------------------------------------------------|--------|\n| [TestInformation.Builder](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.Builder.html) | \u003cbr /\u003e |"]]