모듈 스플리터
public class ModuleSplitter
extends Object
java.lang.객체 | |
↳ | com.android.tradefed.testtype.suite.ModuleSplitter |
도우미로 표시 모듈 목록 분할 IConfiguration
로 표시되는 실행 유닛의리스트로 ModuleDefinition
.
각각의 구성은 1 개 이상 생성 할 수 ModuleDefinition
해당 옵션 및 시험 종류에 따라 :
- 비 shardable
IConfiguration
하나 생성합니다ModuleDefinition
. - shardable
IConfiguration
ModuleDefinition의 번호가 연결이 생성됩니다IRemoteTest
속성 :- 비 -
IShardableTest
하나의 ModuleDefinition를 생성합니다. -
IShardableTest
에 의해 반환 시험 당 하나 ModuleDefinition 생성IShardableTest.split()
.
- 비 -
요약
공개 생성자 | |
---|---|
ModuleSplitter () |
공개 메서드 | |
---|---|
static | splitConfiguration (TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding) splitConfiguration (TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding) splitConfiguration (TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding) 실행 단위의 목록 작성 |
공개 생성자
모듈 스플리터
public ModuleSplitter ()
공개 메서드
분할 구성
public staticsplitConfiguration (TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding)
실행 단위의 목록 작성 ModuleDefinition
로드 된 구성의지도를 기반으로들.
매개변수 | |
---|---|
testInfo | TestInformation : 현재 TestInformation 샤딩을 진행합니다. |
runConfig | ERROR(/LinkedHashMap) 에서로드 ITestSuite#loadTests() . |
suitePreparersPerDevice | |
shardCount | int : 샤딩에 도움이 파편 카운트 힌트. |
dynamicModule | boolean :되는지 여부 모듈은 풀에 공유 할 수 있습니다 또는 독립 (엄격한 샤딩)해야합니다. |
intraModuleSharding | boolean : 여부 모듈 내에서 파편에. |
보고 | |
---|---|
목록 ModuleDefinition |