A partir del 27 de marzo de 2025, te recomendamos que uses android-latest-release
en lugar de aosp-main
para compilar y contribuir a AOSP. Para obtener más información, consulta Cambios en AOSP.
Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
PredeterminadoRemotoAndroidTestRunner
public class DefaultRemoteAndroidTestRunner
extends RemoteAndroidTestRunner
java.lang.Objeto |
↳ | com.android.ddmlib.testrunner.RemoteAndroidTestRunner |
| ↳ | com.android.tradefed.result.ddmlib.DefaultRemoteAndroidTestRunner |
Extensión de ddmlib RemoteAndroidTestRunner
para establecer algunos valores predeterminados para los casos de uso de Tradefed.
Resumen
Métodos públicos |
---|
IInstrumentationResultParser | createParser (String runName, listeners) createParser (String runName, listeners) |
Constructores públicos
PredeterminadoRemotoAndroidTestRunner
public DefaultRemoteAndroidTestRunner (String packageName,
String runnerName,
IShellEnabledDevice remoteDevice)
Parámetros |
---|
packageName | String |
runnerName | String |
remoteDevice | IShellEnabledDevice |
Métodos públicos
crearParser
public IInstrumentationResultParser createParser (String runName,
listeners)
Parámetros |
---|
runName | String |
listeners | |
Devoluciones |
---|
IInstrumentationResultParser | |
El contenido y el código de ejemplo de esta página están sujetos a las licencias que se describen en la licencia de contenido. Java y OpenJDK son marcas registradas de Oracle o sus entidades asociadas.
Última actualización: 2023-12-01 (UTC).
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Me falta la información que necesito","missingTheInformationINeed","thumb-down"],["Es demasiado complicado o hay demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Está obsoleto","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema de muestras o código","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2023-12-01 (UTC)."],[],[],null,["# DefaultRemoteAndroidTestRunner\n==============================\n\n\n`\npublic\n\n\nclass\nDefaultRemoteAndroidTestRunner\n`\n\n\n`\n\n\n`\n\n`\n\nextends `[RemoteAndroidTestRunner](../../../../../../../reference/tradefed/com/android/tradefed/result/ddmlib/RemoteAndroidTestRunner.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|-------------------------------------------------------------------|\n| java.lang.Object |||\n| ↳ | [com.android.tradefed.result.ddmlib.RemoteAndroidTestRunner](../../../../../../../reference/tradefed/com/android/tradefed/result/ddmlib/RemoteAndroidTestRunner.html) ||\n| | ↳ | com.android.tradefed.result.ddmlib.DefaultRemoteAndroidTestRunner |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nExtension of the ddmlib [RemoteAndroidTestRunner](../../../../../../../reference/tradefed/com/android/tradefed/result/ddmlib/RemoteAndroidTestRunner.html) to set some default for Tradefed use\ncases.\n\nSummary\n-------\n\n| ### Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[DefaultRemoteAndroidTestRunner](../../../../../../../reference/tradefed/com/android/tradefed/result/ddmlib/DefaultRemoteAndroidTestRunner.html#DefaultRemoteAndroidTestRunner(java.lang.String,%20java.lang.String,%20com.android.ddmlib.IShellEnabledDevice))`(String packageName, String runnerName, IShellEnabledDevice remoteDevice) ` |\n\n| ### Public methods ||\n|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` IInstrumentationResultParser` | ` `[createParser](../../../../../../../reference/tradefed/com/android/tradefed/result/ddmlib/DefaultRemoteAndroidTestRunner.html#createParser(java.lang.String,%20\u003cany\u003e))`(String runName, ` listeners) Create the [InstrumentationResultParser](../../../../../../../reference/tradefed/com/android/tradefed/result/ddmlib/InstrumentationResultParser.html) that will be used to parse the instrumentation output. |\n\nPublic constructors\n-------------------\n\n### DefaultRemoteAndroidTestRunner\n\n```\npublic DefaultRemoteAndroidTestRunner (String packageName, \n String runnerName, \n IShellEnabledDevice remoteDevice)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------------|------------------------------|\n| `packageName` | `String` \u003cbr /\u003e |\n| `runnerName` | `String` \u003cbr /\u003e |\n| `remoteDevice` | `IShellEnabledDevice` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### createParser\n\n```\npublic IInstrumentationResultParser createParser (String runName, \n listeners)\n```\n\nCreate the [InstrumentationResultParser](../../../../../../../reference/tradefed/com/android/tradefed/result/ddmlib/InstrumentationResultParser.html) that will be used to parse the instrumentation\noutput.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|-----------------------------------------------------|\n| `runName` | `String`: The name of the run to use. \u003cbr /\u003e |\n| `listeners` | : The listeners where to report the results. \u003cbr /\u003e |\n\n| Returns ||\n|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `IInstrumentationResultParser` | An instance of [InstrumentationResultParser](../../../../../../../reference/tradefed/com/android/tradefed/result/ddmlib/InstrumentationResultParser.html). \u003cbr /\u003e |"]]