컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
RunCommandTargetPreparer
public class RunCommandTargetPreparer
extends BaseTargetPreparer
요약
공개 방법 |
---|
final void | addRunCommand (String cmd) 준비자가 실행할 명령을 추가하십시오. |
void | setUp (TestInformation testInfo) |
void | tearDown (TestInformation testInfo, Throwable e) |
보호 된 방법 |
---|
ITestDevice | getDevice (TestInformation testInfo) 준비자를 적용 할 장치를 반환합니다. |
공용 생성자
RunCommandTargetPreparer
public RunCommandTargetPreparer ()
공개 방법
addRunCommand
public final void addRunCommand (String cmd)
준비자가 실행할 명령을 추가하십시오.
public void setUp (TestInformation testInfo)
매개 변수 |
---|
testInfo | TestInformation |
던짐 |
---|
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInfo,
Throwable e)
매개 변수 |
---|
testInfo | TestInformation |
e | Throwable |
던짐 |
---|
DeviceNotAvailableException | |
보호 된 방법
protected ITestDevice getDevice (TestInformation testInfo)
준비자를 적용 할 장치를 반환합니다.
보고 |
---|
ITestDevice | 준비자를 적용 할 장치입니다. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-09-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]