건너뛰기관리자
public class SkipManager
extends Object
implements IDisableable
java.lang.Object | |
↳ | com.android.tradefed.result.skipped.SkipManager |
다양한 기준에 따라 건너뛰기 관리자는 호출, 모듈 및 테스트 등 다양한 수준에서 무엇을 건너뛰어야 하는지 결정하는 데 도움을 줍니다.
요약
공개 생성자 | |
---|---|
SkipManager () |
공개 메소드 | |
---|---|
void | clearManager () |
getDemotedTests () 강등된 테스트와 강등 이유를 반환합니다. | |
String | getInvocationSkipReason () |
boolean | isDisabled () 전체 객체가 비활성화된 경우 True를 반환합니다(설정과 해제를 모두 건너뛰기). |
void | reportDiscoveryDependencies ( modules, depFiles) reportDiscoveryDependencies ( modules, depFiles) reportDiscoveryDependencies ( modules, depFiles) |
void | reportDiscoveryWithNoTests () 초기 다운로드 및 검색 프로세스에서는 실행될 테스트가 없다고 건너뛰기 관리자에게 보고합니다. |
void | setDisable (boolean isDisabled) 개체를 비활성화해야 하는지 여부를 설정합니다. |
void | setImageAnalysis ( ITestDevice device, ContentAnalysisContext analysisContext) |
void | setSkipDecision (boolean shouldSkip) |
void | setTestArtifactsAnalysis ( ContentAnalysisContext analysisContext) |
void | setup ( IConfiguration config, IInvocationContext context) 건너뛰기 관리자를 설정하고 초기화합니다. |
boolean | shouldSkipInvocation ( TestInformation information) 현재 호출을 건너뛰어야 하는지 여부를 보고합니다. |
공개 생성자
건너뛰기관리자
public SkipManager ()
공개 메소드
클리어매니저
public void clearManager ()
getDemotedTests
publicgetDemotedTests ()
강등된 테스트와 강등 이유를 반환합니다.
보고 | |
---|---|
getInvocationSkipReason
public String getInvocationSkipReason ()
보고 | |
---|---|
String |
비활성화됨
public boolean isDisabled ()
전체 객체가 비활성화된 경우 True를 반환합니다(설정과 해제를 모두 건너뛰기). 그렇지 않으면 거짓입니다.
보고 | |
---|---|
boolean |
보고서발견종속성
public void reportDiscoveryDependencies (modules, depFiles)
매개변수 | |
---|---|
modules | |
depFiles |
ReportDiscoveryWithNoTests
public void reportDiscoveryWithNoTests ()
초기 다운로드 및 검색 프로세스에서는 실행될 테스트가 없다고 건너뛰기 관리자에게 보고합니다. 이로 인해 호출을 건너뛰게 됩니다.
비활성화 설정
public void setDisable (boolean isDisabled)
개체를 비활성화해야 하는지 여부를 설정합니다. 비활성화됨은 설정 및 해제 단계를 모두 건너뛰어야 함을 의미합니다. 기본 생성자에서 기본적으로 객체를 비활성화하는 데 사용할 수 있습니다.
매개변수 | |
---|---|
isDisabled | boolean : 객체가 놓여져야 할 상태. |
setImageAnalytics
public void setImageAnalysis (ITestDevice device, ContentAnalysisContext analysisContext)
매개변수 | |
---|---|
device | ITestDevice |
analysisContext | ContentAnalysisContext |
setSkip결정
public void setSkipDecision (boolean shouldSkip)
매개변수 | |
---|---|
shouldSkip | boolean |
setTestArtifacts분석
public void setTestArtifactsAnalysis (ContentAnalysisContext analysisContext)
매개변수 | |
---|---|
analysisContext | ContentAnalysisContext |
설정
public void setup (IConfiguration config, IInvocationContext context)
건너뛰기 관리자를 설정하고 초기화합니다.
매개변수 | |
---|---|
config | IConfiguration |
context | IInvocationContext |
shouldSkip호출
public boolean shouldSkipInvocation (TestInformation information)
현재 호출을 건너뛰어야 하는지 여부를 보고합니다.
매개변수 | |
---|---|
information | TestInformation |
보고 | |
---|---|
boolean |