Home
last modified time | relevance | path

Searched refs:ModuleDefinition (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleSplitter.java64 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()
DModuleMerger.java24 private static void mergeModules(ModuleDefinition module1, ModuleDefinition module2) { in mergeModules()
DITestSuite.java241 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 …]
DValidateSuiteConfigHelper.java126 Object controller = config.getConfigurationObject(ModuleDefinition.MODULE_CONTROLLER); in validateConfig()
133 ModuleDefinition.MODULE_CONTROLLER, BaseModuleController.class)); in validateConfig()
DModuleDefinition.java76 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/
DModuleSplitterTest.java65 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()
DModuleDefinitionTest.java76 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 …]
DValidateSuiteConfigHelperTest.java247 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()
DModuleDefinitionMultiTest.java49 private ModuleDefinition mModule;
116 new ModuleDefinition( in testCreateAndRun()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DBaseModuleController.java22 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/
DNativeBridgeModuleControllerTest.java26 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/
DFormattedGeneratorReporterTest.java26 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/
DSuiteResultReporter.java30 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/
DDetectRegression.java25 import com.android.tradefed.testtype.suite.ModuleDefinition;
90 ModuleDefinition.PREPARATION_TIME,
91 ModuleDefinition.TEST_TIME,
92 ModuleDefinition.TEAR_DOWN_TIME);