장치클리너

public class DeviceCleaner
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.DeviceCleaner


테스트 후 정리 작업으로 재부팅 또는 포맷을 수행하고 선택적으로 화면을 끕니다.

요약

공개 생성자

DeviceCleaner ()

공개 메소드

void setUp ( TestInformation testInfo)
void tearDown ( TestInformation testInfo, Throwable e)

보호된 방법

void clean ( ITestDevice device)

정리 작업을 실행한 후 사후 정리 작업을 실행합니다.

공개 생성자

장치클리너

public DeviceCleaner ()

공개 메소드

설정

public void setUp (TestInformation testInfo)

매개변수
testInfo TestInformation

던지기
BuildError
DeviceNotAvailableException
TargetSetupError

분해

public void tearDown (TestInformation testInfo, 
                Throwable e)

매개변수
testInfo TestInformation

e Throwable

던지기
DeviceNotAvailableException

보호된 방법

깨끗한

protected void clean (ITestDevice device)

정리 작업을 실행한 후 사후 정리 작업을 실행합니다.

매개변수
device ITestDevice

던지기
DeviceNotAvailableException