Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationXmlParserTest.java59 final String configName = "config"; in testParse() local
60 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse()
61 xmlParser.parse(configDef, configName, getStringAsStream(normalConfig), null); in testParse()
62 assertEquals(configName, configDef.getName()); in testParse()
81 final String configName = "config"; in testParse_interleaved() local
82 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse_interleaved()
84 xmlParser.parse(configDef, configName, getStringAsStream(normalConfig), null); in testParse_interleaved()
104 final String configName = "config"; in testParse_globalOption() local
105 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse_globalOption()
106 xmlParser.parse(configDef, configName, getStringAsStream(normalConfig), null); in testParse_globalOption()
[all …]
DConfigurationFactoryTest.java107 String configName = entry.getKey().name; in testLoadAllConfigs() local
108 String jarName = configAndJar.get(configName); in testLoadAllConfigs()
121 configName, jarName, o.mClassName, contribJar)); in testLoadAllConfigs()
564 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_unspecified() local
566 mFactory.createConfigurationFromArgs(new String[]{configName}); in testCreateConfigurationFromArgs_templateInclude_unspecified()
574 "config. msg was: %s", msg), msg.contains(configName)); in testCreateConfigurationFromArgs_templateInclude_unspecified()
595 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_missing() local
600 new String[]{configName, "--template:map", "target", includeName}); in testCreateConfigurationFromArgs_templateInclude_missing()
608 "config. msg was: %s", msg), msg.contains(configName)); in testCreateConfigurationFromArgs_templateInclude_missing()
618 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_local() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/
DGCSConfigurationServerTest.java105 String configName = mConfigServer.getCurrentHostConfig(); in testGetCurrentHostConfig() local
106 Assert.assertEquals("host-config.xml", configName); in testGetCurrentHostConfig()
113 String configName = mConfigServer.getCurrentHostConfig(); in testGetCurrentHostConfig_cluster() local
114 Assert.assertEquals("presubmit-vts-host-config.xml", configName); in testGetCurrentHostConfig_cluster()
121 String configName = mConfigServer.getCurrentHostConfig(); in testGetCurrentHostConfig_configPath() local
122 Assert.assertEquals("/config/path.xml", configName); in testGetCurrentHostConfig_configPath()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java133 for (String configName : configs) { in loadTests()
136 configFactory.createConfigurationFromArgs(new String[]{configName}); in loadTests()
151 new String[] {configName}); in loadTests()
152 String configNameAbi = abi.getName() + " " + configName; in loadTests()
176 expandTestSuites(configName, testConfig, parentConfig, graph); in loadTests()
182 CLog.e("Configuration '%s' cannot be loaded, ignoring.", configName); in loadTests()
214 String configName, in expandTestSuites() argument
224 graph.addEdge(parentConfig, configName); in expandTestSuites()
231 configName)); in expandTestSuites()
240 runner.loadTests(configName, graph); in expandTestSuites()
[all …]
DSuiteModuleLoader.java192 for (String configName : configs) { in loadTfConfigsFromSpecifiedPaths()
193 toRun.putAll(loadOneConfig(configName, configName, abis, suiteTag)); in loadTfConfigsFromSpecifiedPaths()
240 String configName, String configFullName, Set<IAbi> abis, String suiteTag) { in loadOneConfig() argument
242 final String name = configName.replace(CONFIG_EXT, ""); in loadOneConfig()
694 Set<String> dedupMainlineParameters(List<String> parameters, String configName) in dedupMainlineParameters() argument
703 "have no any spaces configured.", param, configName) in dedupMainlineParameters()
711 "order or with no duplicated modules.", param, configName) in dedupMainlineParameters()
/tools/tradefederation/core/src/com/android/tradefed/config/
DTemplateResolutionError.java35 public TemplateResolutionError(String configName, String templateName) { in TemplateResolutionError() argument
41 configName, templateName, templateName)); in TemplateResolutionError()
43 mConfigName = configName; in TemplateResolutionError()
DConfigurationFactory.java269 String configName = findConfigName(name, null); in getConfigurationDef() local
274 def = new ConfigurationDef(configName); in getConfigurationDef()
275 loadConfiguration(configName, def, null, templateMap, null); in getConfigurationDef()
335 String configName = getAbsolutePath(null, name); in findConfigName() local
336 File localConfig = new File(configName); in findConfigName()
572 final String configName = listArgs.remove(0); in internalCreateConfigurationFromArgs() local
575 extractTemplates(configName, listArgs, optionArgsRef, keyStoreClient); in internalCreateConfigurationFromArgs()
576 ConfigurationDef configDef = getConfigurationDef(configName, false, uniqueMap); in internalCreateConfigurationFromArgs()
593 String configName, in extractTemplates() argument
598 final String extension = FileUtil.getExtension(configName); in extractTemplates()
[all …]
DIConfigurationFactory.java128 public void dumpConfig(String configName, PrintStream out); in dumpConfig() argument
DConfigurationXmlParser.java344 private void throwTemplateException(String configName, String templateName) in throwTemplateException() argument
346 throw new SAXException(new TemplateResolutionError(configName, templateName)); in throwTemplateException()
430 private void throwConfigException(String configName, Throwable e) in throwConfigException() argument
436 + "'%s'", configName, e), e); in throwConfigException()
/tools/tradefederation/core/src/com/android/tradefed/util/
DConfigCompletor.java49 for (Object configName : mListConfig) { in complete()
50 String match = matcher.group(1) + configName; in complete()
52 candidates.add(configName); in complete()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DGeneralTestsConfigValidation.java103 for (String configName : configs) { in testConfigsLoad()
106 configFactory.createConfigurationFromArgs(new String[] {configName}); in testConfigsLoad()
111 ensureApkUninstalled(configName, c.getTargetPreparers()); in testConfigsLoad()
117 errors.add(String.format("\t%s: %s", configName, e.getMessage())); in testConfigsLoad()
DTestMappingsValidation.java188 for (String configName : testConfigs) { in testValidTestConfigForParameterizedMainlineModules()
191 mConfigFactory.createConfigurationFromArgs(new String[] {configName}); in testValidTestConfigForParameterizedMainlineModules()
198 String error = validateMainlineModuleConfig(param, Set.of(configName)); in testValidTestConfigForParameterizedMainlineModules()
204 errors.add(String.format("\t%s: %s", configName, e.getMessage())); in testValidTestConfigForParameterizedMainlineModules()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessConfigBuilder.java72 String configName = createConfigName(mOriginalConfig); in build() local
76 File f = new File(mWorkdir, configName); in build()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...