ITest호출
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 | notifyInvocationForceStopped (String message, ErrorIdentifier errorId) TradeFed가 중지하도록 요청되었음을 |
default void | notifyInvocationStopped (String message) TradeFed가 결국 종료된다는 것을 |
default void | setClearcutClient (ClearcutClient client) 메트릭을 보고하기 위해 클리어컷 클라이언트를 전달합니다. |
공개 메소드
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 : config 에 있는 것 외에 알림을 보낼 ITestInvocationListener 입니다. |
던지기 | |
---|---|
DeviceNotAvailableException | 장치와의 통신이 끊긴 경우 |
| 던질 수 있는 |
통지 호출 강제 중지됨
public void notifyInvocationForceStopped (String message, ErrorIdentifier errorId)
TradeFed가 중지하도록 요청되었음을 TestInvocation
에 알립니다.
매개변수 | |
---|---|
message | String : 호출 중지와 관련된 메시지 |
errorId | ErrorIdentifier : 강제 정지와 관련된 식별자 |
알림호출이 중지됨
public void notifyInvocationStopped (String message)
TradeFed가 결국 종료된다는 것을 TestInvocation
에 알립니다.
매개변수 | |
---|---|
message | String : 호출 중지와 관련된 메시지 |
setClearcutClient
public void setClearcutClient (ClearcutClient client)
메트릭을 보고하기 위해 클리어컷 클라이언트를 전달합니다.
매개변수 | |
---|---|
client | ClearcutClient |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]