Home
last modified time | relevance | path

Searched refs:configMap (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DAtestRunnerTest.java95 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_one() local
96 assertEquals(1, configMap.size()); in testLoadTests_one()
97 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/fake"))); in testLoadTests_one()
106 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_two() local
107 assertEquals(2, configMap.size()); in testLoadTests_two()
108 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/fake"))); in testLoadTests_two()
109 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/func"))); in testLoadTests_two()
119 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_filter() local
120 assertEquals(1, configMap.size()); in testLoadTests_filter()
122 assertTrue(configMap.containsKey(testName)); in testLoadTests_filter()
[all …]
DBaseTestSuiteTest.java282 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests() local
283 assertEquals(4, configMap.size()); in testLoadTests()
284 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests()
285 assertTrue(configMap.containsKey("arm64-v8a suite/stub2")); in testLoadTests()
286 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests()
287 assertTrue(configMap.containsKey("armeabi-v7a suite/stub2")); in testLoadTests()
299 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2() local
300 assertEquals(2, configMap.size()); in testLoadTests_suite2()
301 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests_suite2()
302 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests_suite2()
[all …]
DTfSuiteRunnerTest.java116 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests() local
117 assertEquals(4, configMap.size()); in testLoadTests()
118 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests()
119 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests()
120 assertTrue(configMap.containsKey("arm64-v8a suite/stub2")); in testLoadTests()
121 assertTrue(configMap.containsKey("armeabi-v7a suite/stub2")); in testLoadTests()
133 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2() local
134 assertEquals(2, configMap.size()); in testLoadTests_suite2()
135 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests_suite2()
136 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests_suite2()
[all …]
DTestMappingSuiteRunnerTest.java269 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_testMappingsZip() local
271 assertEquals(4, configMap.size()); in testLoadTests_testMappingsZip()
272 assertTrue(configMap.containsKey(ABI_1 + " suite/stub1")); in testLoadTests_testMappingsZip()
273 assertTrue(configMap.containsKey(ABI_1 + " suite/stub2")); in testLoadTests_testMappingsZip()
274 assertTrue(configMap.containsKey(ABI_2 + " suite/stub1")); in testLoadTests_testMappingsZip()
275 assertTrue(configMap.containsKey(ABI_2 + " suite/stub2")); in testLoadTests_testMappingsZip()
282 for (IConfiguration config : configMap.values()) { in testLoadTests_testMappingsZip()
339 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_testMappingsZipFoundTestsWithKeywords() local
344 assertEquals(2, configMap.size()); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
345 assertTrue(configMap.containsKey(ABI_1 + " suite/stub2")); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java90 LinkedHashMap <String, IConfiguration> configMap = in loadTests() local
172 configMap.putAll(expandedConfig); in loadTests()
177 configMap.putAll(expandedConfig); in loadTests()
185 return configMap; in loadTests()
218 LinkedHashMap<String, IConfiguration> configMap = in expandTestSuites() local
241 configMap.putAll(subConfigs); in expandTestSuites()
252 configMap.put(sanitizeConfigName(configName), config); in expandTestSuites()
254 return configMap; in expandTestSuites()
DModuleSplitter.java84 for (Entry<String, IConfiguration> configMap : runConfig.entrySet()) { in splitConfiguration()
86 ValidateSuiteConfigHelper.validateConfig(configMap.getValue()); in splitConfiguration()
92 configMap.getKey(), in splitConfiguration()
93 configMap.getValue(), in splitConfiguration()
98 CLog.e("Exception while creating module for '%s'", configMap.getKey()); in splitConfiguration()
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java555 HashMap<String, CarrierConfig.Config> configMap = new HashMap<>(); in parseCarrierConfigFromXml() local
560 configMap.putAll(parseCarrierConfigToMap(element)); in parseCarrierConfigFromXml()
562 return configMap; in parseCarrierConfigFromXml()
573 HashMap<String, CarrierConfig.Config> configMap = new HashMap<>(); in parseCarrierConfigFromVendorXml() local
578 configMap.putAll(parseCarrierConfigToMap(element)); in parseCarrierConfigFromVendorXml()
580 return configMap; in parseCarrierConfigFromVendorXml()
591 HashMap<String, CarrierConfig.Config> configMap = new HashMap<>(); in parseCarrierConfigToMap() local
603 configMap.put(key, CarrierConfig.Config.newBuilder().setBoolValue(value).build()); in parseCarrierConfigToMap()
615 configMap.put(key, CarrierConfig.Config.newBuilder().setIntValue(value).build()); in parseCarrierConfigToMap()
627 configMap.put(key, CarrierConfig.Config.newBuilder().setLongValue(value).build()); in parseCarrierConfigToMap()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/
DAtestRunner.java119 LinkedHashMap<String, IConfiguration> configMap = super.loadTests(); in loadTests() local
121 for (IConfiguration testConfig : configMap.values()) { in loadTests()
139 return configMap; in loadTests()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java297 Map<String, Object> configMap = (Map<String, Object>) yaml.load(configInputStream); in updateConfigFile() local
298 CLog.d("Loaded yaml config: \n%s", configMap); in updateConfigFile()
299 List<Object> testBedList = (List<Object>) configMap.get("TestBeds"); in updateConfigFile()
322 yaml.dump(configMap, writer); in updateConfigFile()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...