ReportPassedTests

public class ReportPassedTests
extends CollectingTestListener implements IConfigurationReceiver, ISupportGranularResults

java.lang.Object의 클래스
   ↳ com.android.tradefed.result.CollectingTestListener
     ↳ com.android.tradefed.result.ReportPassedTests


통과한 테스트를 제외할 수 있는 필터를 파일에 보고합니다.

요약

공개 생성자

ReportPassedTests()

공개 메서드

void invocationEnded(long elapsedTime)

호출이 성공적 또는 일부 오류 조건으로 인해 종료되었음을 보고합니다.

void invocationFailed(FailureDescription failure)

일부 오류 조건으로 인해 불완전한 호출을 보고합니다.

void invocationStarted(IInvocationContext context)

테스트 호출 시작을 보고합니다.

void setConfiguration(IConfiguration configuration)

사용 중인 IConfiguration를 삽입합니다.

void setLogger(ITestLogger logger)
boolean supportGranularResults()

보고 도구가 세부적인 결과를 지원하면 true를, 그렇지 않으면 false를 반환합니다.

void testModuleEnded()

모듈 실행 종료를 보고합니다.

void testModuleStarted(IInvocationContext moduleContext)

실행 중인 모듈의 시작을 보고합니다.

void testRunEnded(long elapsedTime, runMetrics)

테스트 실행 종료를 보고합니다.

공개 생성자

ReportPassedTests

public ReportPassedTests ()

공개 메서드

invocationEnded

public void invocationEnded (long elapsedTime)

호출이 성공적 또는 일부 오류 조건으로 인해 종료되었음을 보고합니다.

TradeFederation 프레임워크에서 자동으로 호출됩니다.

매개변수
elapsedTime long: 호출에 걸린 시간(밀리초)

invocationFailed

public void invocationFailed (FailureDescription failure)

일부 오류 조건으로 인해 불완전한 호출을 보고합니다.

TradeFederation 프레임워크에서 자동으로 호출됩니다.

매개변수
failure FailureDescription: 실패 원인을 설명하는 FailureDescription

invocationStarted

public void invocationStarted (IInvocationContext context)

테스트 호출 시작을 보고합니다.

TradeFederation 프레임워크에서 자동으로 호출됩니다. 보고자는 여러 기기 보고를 지원하려면 이 메서드를 재정의해야 합니다.

매개변수
context IInvocationContext: 호출에 관한 정보

setConfiguration

public void setConfiguration (IConfiguration configuration)

사용 중인 IConfiguration를 삽입합니다.

매개변수
configuration IConfiguration

setLogger

public void setLogger (ITestLogger logger)

매개변수
logger ITestLogger

supportGranularResults

public boolean supportGranularResults ()

보고자가 상세 결과를 지원하는 경우 true를 반환하고 그렇지 않은 경우 false를 반환합니다.

반환 값
boolean

testModuleEnded

public void testModuleEnded ()

모듈 실행 종료를 보고합니다.

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

실행 중인 모듈의 시작을 보고합니다. 이 콜백은 testModuleEnded()와 연결되며 시퀀스에서 선택사항입니다. 모듈 모음 기반 실행기를 사용하는 실행 중에만 사용됩니다.

매개변수
moduleContext IInvocationContext: 모듈의 IInvocationContext입니다.

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

테스트 실행 종료를 보고합니다.

매개변수
elapsedTime long: 기기에서 보고된 경과 시간(밀리초)입니다.

runMetrics : 테스트 실행이 끝날 때 보고되는 키-값 쌍