A partir de 27 de março de 2025, recomendamos usar android-latest-release
em vez de aosp-main
para criar e contribuir com o AOSP. Para mais informações, consulte Mudanças no AOSP.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
public
static
class
TestInformation.Builder
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.invoker.TestInformation.Builder
|
Builder para criar uma instância de TestInformation
.
Resumo
Métodos públicos
setDependenciesFolder
public TestInformation.Builder setDependenciesFolder (File dependenciesFolder)
Parâmetros |
dependenciesFolder |
File |
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-27 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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 |"]]