/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitter.java | 64 public static List<ModuleDefinition> splitConfiguration( in splitConfiguration() 73 List<ModuleDefinition> runModules = new ArrayList<>(); in splitConfiguration() 89 List<ModuleDefinition> currentList, in createAndAddModule() 101 ModuleDefinition module = in createAndAddModule() 102 new ModuleDefinition( in createAndAddModule() 126 ModuleDefinition module = in createAndAddModule() 127 new ModuleDefinition( in createAndAddModule() 155 List<ModuleDefinition> currentList, in addModuleToListFromSingleTest() 161 ModuleDefinition module = in addModuleToListFromSingleTest() 162 new ModuleDefinition( in addModuleToListFromSingleTest()
|
D | ModuleMerger.java | 24 private static void mergeModules(ModuleDefinition module1, ModuleDefinition module2) { in mergeModules()
|
D | ITestSuite.java | 241 private ModuleDefinition mDirectModule = null; 293 private List<ModuleDefinition> createExecutionList() { in createExecutionList() 294 List<ModuleDefinition> runModules = new ArrayList<>(); in createExecutionList() 315 ModuleDefinition module = in createExecutionList() 316 new ModuleDefinition( in createExecutionList() 367 List<ModuleDefinition> runModules = createExecutionList(); in run() 418 ModuleDefinition module = runModules.remove(0); in run() 451 for (ModuleDefinition module : runModules) { in run() 479 ModuleDefinition module, in runSingleModule() 638 List<ModuleDefinition> splitModules = in split() [all …]
|
D | ValidateSuiteConfigHelper.java | 126 Object controller = config.getConfigurationObject(ModuleDefinition.MODULE_CONTROLLER); in validateConfig() 133 ModuleDefinition.MODULE_CONTROLLER, BaseModuleController.class)); in validateConfig()
|
D | ModuleDefinition.java | 76 public class ModuleDefinition implements Comparable<ModuleDefinition>, ITestCollector { class 130 public ModuleDefinition( in ModuleDefinition() method in ModuleDefinition 209 public int compareTo(ModuleDefinition moduleDef) { in compareTo()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitterTest.java | 65 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true); in testSplitModule_configNotShardable() 96 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true); in testSplitModule_configNotStrictShardable_dynamic() 127 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, false); in testSplitModule_configNotStrictShardable_notDynamic() 159 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true); in testSplitModule_testNotShardable() 187 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true); in testSplitModule_testShardable_didNotShard() 217 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true); in testSplitModule_testShardable_shard() 221 for (ModuleDefinition m : res) { in testSplitModule_testShardable_shard() 243 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, false); in testSplitModule_testShardable_shard_noDynamic() 247 for (ModuleDefinition m : res) { in testSplitModule_testShardable_shard_noDynamic()
|
D | ModuleDefinitionTest.java | 76 private ModuleDefinition mModule; 170 new ModuleDefinition( in setUp() 303 new ModuleDefinition( in testRun_failPreparation() 333 new ModuleDefinition( in testRun_fullPass() 377 new ModuleDefinition( in testRun_partialRun() 438 new ModuleDefinition( in testAbiSetting() 448 moduleContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0)); in testAbiSetting() 449 assertEquals("arm", moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0)); in testAbiSetting() 452 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testAbiSetting() 469 config.setConfigurationObject(ModuleDefinition.MODULE_CONTROLLER, moduleConfig); in testModuleController_fullBypass() [all …]
|
D | ValidateSuiteConfigHelperTest.java | 247 ModuleDefinition.MODULE_CONTROLLER, new TestFailureModuleController()); in testModuleController() 257 config.setConfigurationObject(ModuleDefinition.MODULE_CONTROLLER, new CommandOptions()); in testModuleController_fail() 262 assertTrue(expected.getMessage().contains(ModuleDefinition.MODULE_CONTROLLER)); in testModuleController_fail()
|
D | ModuleDefinitionMultiTest.java | 49 private ModuleDefinition mModule; 116 new ModuleDefinition( in testCreateAndRun()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/ |
D | BaseModuleController.java | 22 import com.android.tradefed.testtype.suite.ModuleDefinition; 67 String abi = mContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0); in getModuleAbi() 73 return mContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0); in getModuleName()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/ |
D | NativeBridgeModuleControllerTest.java | 26 import com.android.tradefed.testtype.suite.ModuleDefinition; 49 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 50 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | FormattedGeneratorReporterTest.java | 26 import com.android.tradefed.testtype.suite.ModuleDefinition; 126 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module1"); in testFinalizeResults() 127 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "abi1"); in testFinalizeResults()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 30 import com.android.tradefed.testtype.suite.ModuleDefinition; 87 List<String> abiName = moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI); in testModuleStarted() 91 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0), abi); in testModuleStarted() 142 String prepTime = moduleResult.getRunMetrics().get(ModuleDefinition.PREPARATION_TIME); in invocationEnded() 143 String tearTime = moduleResult.getRunMetrics().get(ModuleDefinition.TEAR_DOWN_TIME); in invocationEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/ |
D | DetectRegression.java | 25 import com.android.tradefed.testtype.suite.ModuleDefinition; 90 ModuleDefinition.PREPARATION_TIME, 91 ModuleDefinition.TEST_TIME, 92 ModuleDefinition.TEAR_DOWN_TIME);
|