2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
DefaultRemoteAndroidTestRunner
public
class
DefaultRemoteAndroidTestRunner
extends RemoteAndroidTestRunner
Tradefed 사용 사례에 일부 기본값을 설정하도록 ddmlib RemoteAndroidTestRunner
를 확장했습니다.
요약
공개 생성자
DefaultRemoteAndroidTestRunner
public DefaultRemoteAndroidTestRunner (String packageName,
String runnerName,
IShellEnabledDevice remoteDevice)
매개변수 |
packageName |
String |
runnerName |
String |
remoteDevice |
IShellEnabledDevice |
공개 메서드
createParser
public IInstrumentationResultParser createParser (String runName,
listeners)
계측 파싱에 사용할 InstrumentationResultParser
를 만듭니다.
출력됩니다.
매개변수 |
runName |
String : 사용할 실행의 이름입니다. |
listeners |
: 결과를 보고할 리스너입니다. |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(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 |"]]