DynamicSystemPreparer
public class DynamicSystemPreparer
extends BaseTargetPreparer
implements ILabPreparer
java.lang.객체 | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DynamicSystemPreparer |
동적 시스템 업데이트로 장치 빌드 위에 시스템 이미지를 설정하는 ITargetPreparer
입니다.
요약
공개 생성자 | |
---|---|
DynamicSystemPreparer () |
공개 방법 | |
---|---|
void | setUp ( TestInformation testInfo) 테스트를 위해 대상 설정을 수행합니다. |
void | tearDown ( TestInformation testInfo, Throwable e) 테스트 후 대상 정리/해제를 수행합니다. |
공개 생성자
DynamicSystemPreparer
public DynamicSystemPreparer ()
공개 방법
설정
public void setUp (TestInformation testInfo)
테스트를 위해 대상 설정을 수행합니다.
매개변수 | |
---|---|
testInfo | TestInformation : 호출의 TestInformation . |
던지기 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
테스트 후 대상 정리/해제를 수행합니다.
매개변수 | |
---|---|
testInfo | TestInformation : 호출의 TestInformation . |
e | Throwable : 호출이 예외로 종료된 경우 호출 수준에서 포착된 예외입니다. 그렇지 않으면 null 됩니다. |
던지기 | |
---|---|
DeviceNotAvailableException |