NativeStressTestParser
public
class
NativeStressTestParser
extends MultiLineReceiver
java.lang.Object | ||
↳ | com.android.ddmlib.MultiLineReceiver | |
↳ | com.android.tradefed.testtype.NativeStressTestParser |
스트레스 테스트 데이터 출력을 파싱하여 반복 완료 수 및 반복당 평균 시간에 관한 측정항목을 수집하는 IShellOutputReceiver
입니다.
다음과 같은 출력을 찾습니다.
pass 0
...
==== pass X
Successfully completed X passes
여기서 'X'는 반복 횟수를 나타냅니다.
요약
공개 생성자 | |
---|---|
NativeStressTestParser(String runName)
|
공개 메서드 | |
---|---|
int
|
getIterationsCompleted()
|
String
|
getRunName()
|
boolean
|
isCancelled()
|
void
|
processNewLines(String[] lines)
|
공개 생성자
NativeStressTestParser
public NativeStressTestParser (String runName)
NativeStressTestParser
를 만듭니다.
매개변수 | |
---|---|
runName |
String : 실행 이름입니다. 로깅 목적으로 사용됩니다. |
공개 메서드
getIterationsCompleted
public int getIterationsCompleted ()
반환 값 | |
---|---|
int |
하나 이상의 실행에서 완료된 총 반복 횟수 |
getRunName
public String getRunName ()
반환 값 | |
---|---|
String |
테스트 실행 이름입니다. |
isCancelled
public boolean isCancelled ()
반환 값 | |
---|---|
boolean |
processNewLines
public void processNewLines (String[] lines)
매개변수 | |
---|---|
lines |
String |