NativeStressTest
public class NativeStressTest
extends Object
implements IDeviceTest , IRemoteTest
java.lang.객체 | |
↳ | com.android.tradefed.testtype.NativeStressTest |
지정된 장치에서 실행 가능한 기본 스트레스 테스트를 실행하는 테스트입니다.
NativeStressTestParser
를 사용하여 완료된 반복 횟수를 구문 분석하고 해당 결과를 ITestInvocationListener
에 보고합니다.요약
공개 생성자 | |
---|---|
NativeStressTest () |
공개 방법 | |
---|---|
ITestDevice | getDevice () 테스트 중인 장치를 가져옵니다. |
String | getModuleName () 실행할 Android 네이티브 테스트 모듈을 가져옵니다. |
void | run ( TestInformation testInfo, ITestInvocationListener listener) 테스트를 실행하고 결과를 수신기에 보고합니다. |
void | setDevice ( ITestDevice device) 테스트 중인 장치를 주입합니다. |
void | setModuleName (String moduleName) 실행할 Android 기본 스트레스 테스트 모듈을 설정합니다. |
공개 생성자
NativeStressTest
public NativeStressTest ()
공개 방법
getModuleName
public String getModuleName ()
실행할 Android 네이티브 테스트 모듈을 가져옵니다.
보고 | |
---|---|
String | 실행할 기본 테스트 모듈의 이름 또는 설정되지 않은 경우 null |
달리다
public void run (TestInformation testInfo, ITestInvocationListener listener)
테스트를 실행하고 결과를 수신기에 보고합니다.
매개변수 | |
---|---|
testInfo | TestInformation : 테스트를 실행하는 데 유용한 정보가 포함된 TestInformation 개체입니다. |
listener | ITestInvocationListener : 테스트 결과의 ITestInvocationListener |
던지기 | |
---|---|
DeviceNotAvailableException |
setDevice
public void setDevice (ITestDevice device)
테스트 중인 장치를 주입합니다.
매개변수 | |
---|---|
device | ITestDevice : 사용할 ITestDevice |
setModuleName
public void setModuleName (String moduleName)
실행할 Android 기본 스트레스 테스트 모듈을 설정합니다.
매개변수 | |
---|---|
moduleName | String : 실행할 네이티브 테스트 모듈의 이름 |