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 | notifyInvocationForceStopped (String message, ErrorIdentifier errorId) TradeFed가 중지하도록 요청되었음을 |
default void | notifyInvocationStopped (String message) TradeFed가 결국 종료될 것임을 |
default void | setClearcutClient (ClearcutClient client) clearcut 클라이언트를 전달하여 지표를 보고합니다. |
공개 방법
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 s |
던지기 | |
---|---|
DeviceNotAvailableException | 장치와의 통신이 끊어진 경우 |
| 던질 수 있는 |
notifyInvocationForceStopped
public void notifyInvocationForceStopped (String message, ErrorIdentifier errorId)
TradeFed가 중지하도록 요청되었음을 TestInvocation
에 알립니다.
매개변수 | |
---|---|
message | String : 호출 중지와 관련된 메시지 |
errorId | ErrorIdentifier : 강제 정지와 관련된 식별자 |
notifyInvocationStopped
public void notifyInvocationStopped (String message)
TradeFed가 결국 종료될 것임을 TestInvocation
에 알립니다.
매개변수 | |
---|---|
message | String : 호출 중지와 관련된 메시지 |
setClearcut클라이언트
public void setClearcutClient (ClearcutClient client)
clearcut 클라이언트를 전달하여 지표를 보고합니다.
매개변수 | |
---|---|
client | ClearcutClient |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-06-06(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":"기타"
}]