ITestInvocation
public interface ITestInvocation
com.android.tradefed.invoker.ITestInvocation |
하나의 TradeFederation 테스트 호출을 처리합니다.
요약
중첩 클래스 | |
---|---|
class | ITestInvocation.ExitInformation 호출에 대한 일부 종료 정보를 나타냅니다. |
공개 메서드 | |
---|---|
default ITestInvocation.ExitInformation | getExitInfo () 지정된 호출의 종료 정보입니다. |
abstract void | invoke (IInvocationContext metadata, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener... extraListeners) 테스트 호출을 수행합니다. |
default void | notifyInvocationStopped (String message, ErrorIdentifier errorId) 알림 |
공개 메서드
getExitInfo
public ITestInvocation.ExitInformation getExitInfo ()
지정된 호출의 종료 정보입니다.
보고 | |
---|---|
ITestInvocation.ExitInformation |
부르다
public abstract void invoke (IInvocationContext metadata, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener... extraListeners)
테스트 호출을 수행합니다.
매개변수 | |
---|---|
metadata | IInvocationContext 다음 IInvocationContext 테스트를 수행합니다. |
config | IConfiguration 다음 IConfiguration 이 테스트 실행. |
rescheduler | IRescheduler 다음 IRescheduler 다른 자원에 대한 실행을 위해 호출 부에 대한 스케줄링은 |
extraListeners | ITestInvocationListener : ITestInvocationListener 에서와 더불어 통보 s의 config |
던지다 | |
---|---|
DeviceNotAvailableException | 장치와의 통신이 두절된 경우 |
Throwable |
알림 호출 중지됨
public void notifyInvocationStopped (String message, ErrorIdentifier errorId)
알림 TestInvocation
TradeFed가 정지 요청되었음을를.
매개변수 | |
---|---|
message | String : 호출을 중지와 관련된 메시지 |
errorId | ErrorIdentifier |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-10-04 UTC.
[]
[]