컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ISandbox
public
interface
ISandbox
com.android.tradefed.sandbox.ISandbox
|
호출을 실행하는 데 사용할 수 있는 샌드박스를 정의하는 인터페이스입니다.
요약
공개 메서드 |
abstract
String
|
createClasspath(File workingDir)
환경 및 getTradefedSandboxEnvironment(com.android.tradefed.invoker.IInvocationContext, com.android.tradefed.config.IConfiguration, String[]) 에서 반환한 작업 디렉터리를 기반으로 클래스 경로를 만듭니다.
|
abstract
IConfiguration
|
createThinLauncherConfig(String[] args, IKeyStoreClient keyStoreClient, IRunUtil runUtil, File globalConfig)
기본 실행에서 특수 모드 연결 끊김: 구성이
얇은 런처로 돌아가
작업 디렉터리를 채워서
dir.
|
default
|
discoverTests(IInvocationContext context, IConfiguration configuration)
SandboxOptions.shouldUseTestDiscovery() 가 사용 설정된 경우 테스트를 탐색하는 prepareEnvironment(com.android.tradefed.invoker.IInvocationContext, com.android.tradefed.config.IConfiguration, com.android.tradefed.result.ITestInvocationListener) 의 하위 단계입니다.
|
default
|
discoverTests(IInvocationContext context, IConfiguration configuration, ITestLogger logger)
|
default
IFolderBuildInfo
|
fetchSandboxExtraArtifacts(IInvocationContext context, IConfiguration configuration, String[] args)
샌드박스에 필요한 추가 파일을 가져오는 prepareEnvironment(com.android.tradefed.invoker.IInvocationContext, com.android.tradefed.config.IConfiguration, com.android.tradefed.result.ITestInvocationListener) 의 하위 단계입니다.
|
default
File
|
getTradefedSandboxEnvironment(IInvocationContext context, IConfiguration nonVersionedConfig, String[] args)
명령줄 인수를 기반으로 사용할 샌드박스 환경 TF를 반환합니다.
|
default
File
|
getTradefedSandboxEnvironment(IInvocationContext context, IConfiguration nonVersionedConfig, ITestLogger logger, String[] args)
|
abstract
Exception
|
prepareEnvironment(IInvocationContext context, IConfiguration configuration, ITestInvocationListener listener)
샌드박스가 제대로 실행될 수 있도록 환경을 준비합니다.
|
abstract
CommandResult
|
run(TestInformation info, IConfiguration configuration, ITestLogger logger)
설정된 환경에서 샌드박스를 실행합니다.
|
abstract
void
|
tearDown()
변경되었을 수 있는 상태, 파일 또는 환경을 삭제합니다.
|
공개 메서드
createThinLauncherConfig
public abstract IConfiguration createThinLauncherConfig (String[] args,
IKeyStoreClient keyStoreClient,
IRunUtil runUtil,
File globalConfig)
기본 실행에서 특수 모드 연결 끊김: 구성이
얇은 런처로 돌아가
작업 디렉터리를 채워서
dir.
매개변수 |
args |
String : 원래 명령줄 인수입니다. |
keyStoreClient |
IKeyStoreClient : 구성을 만드는 데 사용할 현재 키 저장소 클라이언트입니다. |
runUtil |
IRunUtil : 호스트 명령어를 실행할 현재 IRunUtil 입니다. |
globalConfig |
File : TF의 하위 프로세스를 실행하는 데 사용할 전역 구성입니다. |
반환 값 |
IConfiguration |
NON_VERSIONED 객체에 대한 TF의 구성 XML을 가리키는 파일입니다. 반품
얇은 런처 구성을 생성할 수 없는 경우 null입니다. |
getTradefedSandboxEnvironment
public File getTradefedSandboxEnvironment (IInvocationContext context,
IConfiguration nonVersionedConfig,
String[] args)
명령줄 인수를 기반으로 사용할 샌드박스 환경 TF를 반환합니다.
매개변수 |
context |
IInvocationContext : 상위 요소의 IInvocationContext 입니다. |
nonVersionedConfig |
IConfiguration : 버전이 지정되지 않은 객체를 나타내는 IConfiguration 입니다. |
args |
String : 명령줄 인수입니다. |
getTradefedSandboxEnvironment
public File getTradefedSandboxEnvironment (IInvocationContext context,
IConfiguration nonVersionedConfig,
ITestLogger logger,
String[] args)
매개변수 |
context |
IInvocationContext |
nonVersionedConfig |
IConfiguration |
logger |
ITestLogger |
args |
String |
해체
public abstract void tearDown ()
변경되었을 수 있는 상태, 파일 또는 환경을 삭제합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-08-22(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-08-22(UTC)"],[],[]]