모듈분배기

public class ModuleSplitter
extends Object

java.lang.Object
com.android.tradefed.testtype.suite.ModuleSplitter


IConfiguration 으로 표시되는 모듈 목록을 ModuleDefinition 으로 표시되는 실행 단위 목록으로 분할하는 도우미입니다.

각 구성은 옵션 및 테스트 유형에 따라 하나 이상의 ModuleDefinition 생성할 수 있습니다.

요약

공개 생성자

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)

로드된 구성 맵을 기반으로 실행 가능한 단위 ModuleDefinition 목록을 만듭니다.

공개 생성자

모듈분배기

public ModuleSplitter ()

공개 메소드

분할 구성

public static  splitConfiguration (TestInformation testInfo, 
                 runConfig, 
                 suitePreparersPerDevice, 
                int shardCount, 
                boolean dynamicModule, 
                boolean intraModuleSharding)

로드된 구성 맵을 기반으로 실행 가능한 단위 ModuleDefinition 목록을 만듭니다.

매개변수
testInfo TestInformation : 샤딩을 진행하기 위한 현재 TestInformation .

runConfig : ITestSuite#loadTests() 에서 로드된 ERROR(/LinkedHashMap) .

suitePreparersPerDevice : 테스트 장치당 제품군 수준 준비자의 맵입니다.

shardCount int : 샤딩에 도움이 되는 샤드 수 힌트입니다.

dynamicModule boolean : 모듈이 풀에서 공유될 수 있는지 아니면 독립적이어야 하는지(엄격한 샤딩) 여부입니다.

intraModuleSharding boolean : 모듈 내에서 샤딩할지 여부입니다.

보고
ModuleDefinition 목록