Home
last modified time | relevance | path

Searched refs:runModules (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java422 List<ModuleDefinition> runModules = new ArrayList<>(); in createExecutionList() local
425 runModules.add(mDirectModule); in createExecutionList()
429 return runModules; in createExecutionList()
435 return runModules; in createExecutionList()
453 runModules.add(module); in createExecutionList()
458 randomizeTestModules(runModules, mRandomSeed); in createExecutionList()
461 CLog.logAndDisplay(LogLevel.DEBUG, "[Total Unique Modules = %s]", runModules.size()); in createExecutionList()
464 return runModules; in createExecutionList()
475 void randomizeTestModules(List<ModuleDefinition> runModules, long randomSeed) { in randomizeTestModules() argument
481 Collections.shuffle(runModules, new Random(randomSeed)); in randomizeTestModules()
[all …]
DModuleSplitter.java77 List<ModuleDefinition> runModules = new ArrayList<>(); in splitConfiguration() local
83 runModules, in splitConfiguration()
90 return runModules; in splitConfiguration()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java322 List<ModuleDefinition> runModules = new ArrayList<>(); in getRunModules() local
332 runModules.add(module); in getRunModules()
334 return runModules; in getRunModules()
1616 List<ModuleDefinition> runModules = getRunModules(testConfigs); in testRandomizeTestModulesWithSameSeed() local
1619 mTestSuite.randomizeTestModules(runModules, 100L); in testRandomizeTestModulesWithSameSeed()
1621 assertTrue(runModules.toString().equals(runModules2.toString())); in testRandomizeTestModulesWithSameSeed()
1623 mTestSuite.randomizeTestModules(runModules, 400L); in testRandomizeTestModulesWithSameSeed()
1625 assertTrue(runModules.toString().equals(runModules2.toString())); in testRandomizeTestModulesWithSameSeed()
1636 List<ModuleDefinition> runModules = getRunModules(testConfigs); in testRandomizeTestModulesWithDifferentSeed() local
1639 mTestSuite.randomizeTestModules(runModules, 100L); in testRandomizeTestModulesWithDifferentSeed()
[all …]