ExecutableHostTest

public class ExecutableHostTest
extends ExecutableBaseTest

java.lang.Object
   ↳ com.android.tradefed.testtype.binary.ExecutableBaseTest
     ↳ com.android.tradefed.testtype.binary.ExecutableHostTest


호스트에서 실행되는 실행 파일의 테스트 실행기입니다. 러너는 호스트 바이너리가 기기와 통신할 수 있으므로 IDeviceTest를 구현합니다. 수신된 기기가 StubDevice가 아닌 경우 일련번호가 사용될 바이너리에 전달됩니다.

요약

공개 생성자

ExecutableHostTest()

공개 메서드

String findBinary(String binary)

바이너리를 실행할 수 있도록 검색합니다.

void runBinary(String binaryPath, ITestInvocationListener listener, TestDescription description)

지정된 경로에서 바이너리를 실제로 실행합니다.

공개 생성자

ExecutableHostTest

public ExecutableHostTest ()

공개 메서드

findBinary

public String findBinary (String binary)

바이너리를 실행할 수 있도록 검색합니다.

매개변수
binary String: 바이너리의 경로 또는 바이너리 이름입니다.

반환
String 바이너리 경로입니다. 찾을 수 없는 경우 null입니다.

runBinary

public void runBinary (String binaryPath, 
                ITestInvocationListener listener, 
                TestDescription description)

지정된 경로에서 바이너리를 실제로 실행합니다.

매개변수
binaryPath String: 바이너리의 경로입니다.

listener ITestInvocationListener: 결과를 보고할 리스너입니다.

description TestDescription: 진행 중인 테스트입니다.

생성 값
DeviceNotAvailableException
IOException