KUnit모듈테스트
public class KUnitModuleTest
extends ExecutableTargetTest
java.lang.Object | |||
↳ | com.android.tradefed.testtype.binary.ExecutableBaseTest | ||
↳ | com.android.tradefed.testtype.binary.ExecutableTargetTest | ||
↳ | com.android.tradefed.testtype.binary.KUnitModuleTest |
장치에서 KUnit 테스트 모듈을 실행하기 위한 테스트 실행기입니다.
요약
필드 | |
---|---|
public static final String | INSMOD_COMMAND_FMT |
public static final String | KUNIT_DEBUGFS_PATH |
public static final String | KUNIT_RESULTS_FMT |
public static final String | RMMOD_COMMAND_FMT
|
공개 생성자 | |
---|---|
KUnitModuleTest () |
공개 메소드 | |
---|---|
String | findBinary (String binary) 실행할 수 있는 바이너리를 검색하세요. |
boolean | getCollectTestsOnly () |
void | runBinary (String modulePath, ITestInvocationListener listener, TestDescription description) 실제로 주어진 경로에서 바이너리를 실행합니다. |
보호된 방법 | |
---|---|
boolean | doesRunBinaryGenerateTestResults () |
필드
INSMOD_COMMAND_FMT
public static final String INSMOD_COMMAND_FMT
KUNIT_DEBUGFS_PATH
public static final String KUNIT_DEBUGFS_PATH
KUNIT_RESULTS_FMT
public static final String KUNIT_RESULTS_FMT
RMMOD_COMMAND_FMT
public static final String RMMOD_COMMAND_FMT
공개 생성자
KUnit모듈테스트
public KUnitModuleTest ()
공개 메소드
findBinary
public String findBinary (String binary)
실행할 수 있는 바이너리를 검색하세요.
매개변수 | |
---|---|
binary | String : 바이너리의 경로 또는 단순히 바이너리 이름입니다. |
보고 | |
---|---|
String | 바이너리의 경로이거나, 찾을 수 없으면 null입니다. |
던지기 | |
---|---|
DeviceNotAvailableException |
getCollectTestsOnly
public boolean getCollectTestsOnly ()
보고 | |
---|---|
boolean |
runBinary
public void runBinary (String modulePath, ITestInvocationListener listener, TestDescription description)
실제로 주어진 경로에서 바이너리를 실행합니다.
매개변수 | |
---|---|
modulePath | String : 바이너리의 경로입니다. |
listener | ITestInvocationListener : 결과를 보고할 리스너입니다. |
description | TestDescription : 테스트가 진행 중입니다. |
던지기 | |
---|---|
DeviceNotAvailableException |
보호된 방법
doesRunBinaryGenerateTestResults
protected boolean doesRunBinaryGenerateTestResults ()
보고 | |
---|---|
boolean |