/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 102 private ModuleDefinition mModule; 322 new ModuleDefinition( in setUp() 376 new ModuleDefinition( in testCreateModule() 384 assertNull(moduleContext.getAttributes().get(ModuleDefinition.MODULE_PARAMETERIZATION)); in testCreateModule() 395 new ModuleDefinition( in testCreateModule_withParams() 405 moduleContext.getAttributes().get(ModuleDefinition.MODULE_PARAMETERIZATION).size()); in testCreateModule_withParams() 411 .get(ModuleDefinition.MODULE_PARAMETERIZATION)); in testCreateModule_withParams() 443 ModuleDefinition module = in testDynamicDownloadThrows_ReportsRunFailed() 444 new ModuleDefinition( in testDynamicDownloadThrows_ReportsRunFailed() 508 new ModuleDefinition( in testRun_aggregateRunFailures() [all …]
|
D | ModuleSplitterTest.java | 71 List<ModuleDefinition> res = in testSplitModule_configNotShardable() 107 List<ModuleDefinition> res = in testSplitModule_configNotStrictShardable_dynamic() 142 List<ModuleDefinition> res = in testSplitModule_configNotStrictShardable_notDynamic() 171 List<ModuleDefinition> res = in testSplitModule_noIntraModuleSharding() 208 List<ModuleDefinition> res = in testSplitModule_testNotShardable() 241 List<ModuleDefinition> res = in testSplitModule_testShardable_didNotShard() 275 List<ModuleDefinition> res = in testSplitModule_testShardable_shard() 280 for (ModuleDefinition m : res) { in testSplitModule_testShardable_shard() 304 List<ModuleDefinition> res = in testSplitModule_testShardable_shard_noDynamic() 309 for (ModuleDefinition m : res) { in testSplitModule_testShardable_shard_noDynamic()
|
D | ITestSuiteTest.java | 353 private List<ModuleDefinition> getRunModules( in getRunModules() 355 List<ModuleDefinition> runModules = new ArrayList<>(); in getRunModules() 358 ModuleDefinition module = in getRunModules() 359 new ModuleDefinition( in getRunModules() 1730 List<ModuleDefinition> runModules = getRunModules(testConfigs); in testRandomizeTestModulesWithSameSeed() 1731 List<ModuleDefinition> runModules2 = getRunModules(testConfigs); in testRandomizeTestModulesWithSameSeed() 1752 List<ModuleDefinition> runModules = getRunModules(testConfigs); in testRandomizeTestModulesWithDifferentSeed() 1753 List<ModuleDefinition> runModules2 = getRunModules(testConfigs); in testRandomizeTestModulesWithDifferentSeed() 1769 List<ModuleDefinition> runModules = getRunModules(mTestSuite.loadTests()); in testSeedwhenRandomization() 1834 ModuleDefinition m = in testReportNotExecuted_moduleInProgress() [all …]
|
D | ValidateSuiteConfigHelperTest.java | 182 ModuleDefinition.MODULE_CONTROLLER, new TestFailureModuleController()); in testModuleController() 192 config.setConfigurationObject(ModuleDefinition.MODULE_CONTROLLER, new CommandOptions()); in testModuleController_fail() 197 assertTrue(expected.getMessage().contains(ModuleDefinition.MODULE_CONTROLLER)); in testModuleController_fail()
|
D | ModuleDefinitionMultiTest.java | 51 private ModuleDefinition mModule; 115 new ModuleDefinition( in testCreateAndRun() 155 new ModuleDefinition( in testPreparer_mismatch()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 334 private ModuleDefinition mDirectModule = null; 341 private List<ModuleDefinition> mRunModules = null; 342 private ModuleDefinition mModuleInProgress = null; 496 private List<ModuleDefinition> createExecutionList() { in createExecutionList() 497 List<ModuleDefinition> runModules = new ArrayList<>(); in createExecutionList() 517 ModuleDefinition module = in createExecutionList() 518 new ModuleDefinition( in createExecutionList() 551 void randomizeTestModules(List<ModuleDefinition> runModules, long randomSeed) { in randomizeTestModules() 652 ModuleDefinition module = mRunModules.remove(0); in run() 744 ModuleDefinition module, in runSingleModule() [all …]
|
D | ModuleSplitter.java | 72 public static List<ModuleDefinition> splitConfiguration( in splitConfiguration() 83 List<ModuleDefinition> runModules = new ArrayList<>(); in splitConfiguration() 107 List<ModuleDefinition> currentList, in createAndAddModule() 125 ModuleDefinition module = in createAndAddModule() 126 new ModuleDefinition( in createAndAddModule() 151 ModuleDefinition module = in createAndAddModule() 152 new ModuleDefinition( in createAndAddModule() 181 List<ModuleDefinition> currentList, in addModuleToListFromSingleTest() 187 ModuleDefinition module = in addModuleToListFromSingleTest() 188 new ModuleDefinition( in addModuleToListFromSingleTest()
|
D | ModuleDefinition.java | 98 public class ModuleDefinition implements Comparable<ModuleDefinition>, ITestCollector { class 171 public ModuleDefinition( in ModuleDefinition() method in ModuleDefinition 267 public int compareTo(ModuleDefinition moduleDef) { in compareTo()
|
D | ModuleMerger.java | 24 private static void mergeModules(ModuleDefinition module1, ModuleDefinition module2) { in mergeModules()
|
D | ValidateSuiteConfigHelper.java | 134 Object controller = config.getConfigurationObject(ModuleDefinition.MODULE_CONTROLLER); in validateConfig() 141 ModuleDefinition.MODULE_CONTROLLER, BaseModuleController.class)); in validateConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 31 import com.android.tradefed.testtype.suite.ModuleDefinition; 95 List<String> abiName = moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI); in testModuleStarted() 99 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0), abi); in testModuleStarted() 140 String prepTime = moduleResult.getRunMetrics().get(ModuleDefinition.PREPARATION_TIME); in invocationEnded() 141 String tearTime = moduleResult.getRunMetrics().get(ModuleDefinition.TEAR_DOWN_TIME); in invocationEnded() 150 moduleResult.getRunMetrics().get(ModuleDefinition.RETRY_SUCCESS_COUNT); in invocationEnded() 156 moduleResult.getRunMetrics().get(ModuleDefinition.RETRY_FAIL_COUNT); in invocationEnded() 161 String retryTime = moduleResult.getRunMetrics().get(ModuleDefinition.RETRY_TIME); in invocationEnded()
|
/tools/tradefederation/contrib/src/com/android/regression/tests/ |
D | DetectRegression.java | 26 import com.android.tradefed.testtype.suite.ModuleDefinition; 89 ModuleDefinition.PREPARATION_TIME, 90 ModuleDefinition.TEST_TIME, 91 ModuleDefinition.TEAR_DOWN_TIME);
|
/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 | DeviceFeatureModuleControllerTest.java | 29 import com.android.tradefed.testtype.suite.ModuleDefinition; 52 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 53 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp()
|
D | CarModuleControllerTest.java | 26 import com.android.tradefed.testtype.suite.ModuleDefinition; 52 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 53 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp()
|
D | MinApiLevelModuleControllerTest.java | 29 import com.android.tradefed.testtype.suite.ModuleDefinition; 52 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 53 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp()
|
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()
|
D | MainlineTestModuleControllerTest.java | 29 import com.android.tradefed.testtype.suite.ModuleDefinition; 56 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 57 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | InvocationContextTest.java | 29 import com.android.tradefed.testtype.suite.ModuleDefinition; 181 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module-id"); in testProtoSerialize_moduleContext() 196 .get(ModuleDefinition.MODULE_ID) in testProtoSerialize_moduleContext()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | FormattedGeneratorReporterTest.java | 31 import com.android.tradefed.testtype.suite.ModuleDefinition; 154 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module1"); in testFinalizeResults() 155 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "abi1"); in testFinalizeResults()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | PushFilePreparer.java | 35 import com.android.tradefed.testtype.suite.ModuleDefinition; 190 if (invocationContext.getAttributes().get(ModuleDefinition.MODULE_NAME) != null) { in setInvocationContext() 193 invocationContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0); in setInvocationContext()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 33 import com.android.tradefed.testtype.suite.ModuleDefinition; 475 if (mContext.getAttributes().get(ModuleDefinition.MODULE_NAME) != null) { in resolveRelativeFilePath() 476 mModuleName = mContext.getAttributes().get(ModuleDefinition.MODULE_NAME) in resolveRelativeFilePath()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultParser.java | 43 import com.android.tradefed.testtype.suite.ModuleDefinition; 366 if (moduleContext.getAttributes().containsKey(ModuleDefinition.MODULE_ID)) { in handleModuleStart() 371 .get(ModuleDefinition.MODULE_ID); in handleModuleStart()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporterTest.java | 35 import com.android.tradefed.testtype.suite.ModuleDefinition; 185 context.addInvocationAttribute(ModuleDefinition.MODULE_ID, moduleId); in createModuleContext()
|
D | FileProtoResultReporterTest.java | 31 import com.android.tradefed.testtype.suite.ModuleDefinition; 162 context.addInvocationAttribute(ModuleDefinition.MODULE_ID, moduleId); in createModuleContext()
|