NativeStressTest
  public
  
  
  
  class
  NativeStressTest
  
    extends Object
  
  
  
  
  
      implements
      
        IDeviceTest, 
      
        IRemoteTest
      
  
  
| java.lang.Object | |
| ↳ | 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: 실행할 네이티브 테스트 모듈의 이름입니다. | 
