Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationXmlParserTest.java58 final String configName = "config"; in testParse() local
59 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse()
60 xmlParser.parse(configDef, configName, getStringAsStream(normalConfig), null); in testParse()
61 assertEquals(configName, configDef.getName()); in testParse()
79 final String configName = "config"; in testParse_globalOption() local
80 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse_globalOption()
81 xmlParser.parse(configDef, configName, getStringAsStream(normalConfig), null); in testParse_globalOption()
82 assertEquals(configName, configDef.getName()); in testParse_globalOption()
104 final String configName = "config"; in testParse_multiple() local
105 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse_multiple()
[all …]
DConfigurationFactoryTest.java504 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_unspecified() local
506 mFactory.createConfigurationFromArgs(new String[]{configName}); in testCreateConfigurationFromArgs_templateInclude_unspecified()
514 "config. msg was: %s", msg), msg.contains(configName)); in testCreateConfigurationFromArgs_templateInclude_unspecified()
535 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_missing() local
540 new String[]{configName, "--template:map", "target", includeName}); in testCreateConfigurationFromArgs_templateInclude_missing()
548 "config. msg was: %s", msg), msg.contains(configName)); in testCreateConfigurationFromArgs_templateInclude_missing()
558 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_local() local
566 new String[]{configName, "--template:map", "target", includeName}); in testCreateConfigurationFromArgs_templateInclude_local()
584 final String configName = "depend-template-include-config"; in testCreateConfigurationFromArgs_templateInclude_dependent() local
591 configName, in testCreateConfigurationFromArgs_templateInclude_dependent()
[all …]
/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.java122 for (String configName : configs) { in loadConfigsFromJars()
123 toRun.putAll(loadOneConfig(configName, configName, abis, suiteTag)); in loadConfigsFromJars()
171 String configName, String configFullName, Set<IAbi> abis, String suiteTag) { in loadOneConfig() argument
173 final String name = configName.replace(CONFIG_EXT, ""); in loadOneConfig()
/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.java251 String configName = findConfigName(name, null); in getConfigurationDef() local
256 def = new ConfigurationDef(configName); in getConfigurationDef()
257 loadConfiguration(configName, def, null, templateMap); in getConfigurationDef()
321 String configName = getAbsolutePath(null, name); in findConfigName() local
322 File localConfig = new File(configName); in findConfigName()
541 final String configName = listArgs.remove(0); in internalCreateConfigurationFromArgs() local
558 ConfigurationDef configDef = getConfigurationDef(configName, false, uniqueMap); in internalCreateConfigurationFromArgs()
606 final String configName = optionArgsRef.remove(0); in internalCreateGlobalConfigurationFromArgs() local
607 ConfigurationDef configDef = getConfigurationDef(configName, true, null); in internalCreateGlobalConfigurationFromArgs()
695 for (String configName : configNames) { in loadAllConfigs()
[all …]
DIConfigurationFactory.java128 public void dumpConfig(String configName, PrintStream out); in dumpConfig() argument
DConfigurationXmlParser.java314 private void throwTemplateException(String configName, String templateName) in throwTemplateException() argument
316 throw new SAXException(new TemplateResolutionError(configName, templateName)); in throwTemplateException()
367 private void throwConfigException(String configName, Throwable e) in throwConfigException() argument
373 + "'%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/prod-tests/src/com/android/tradefed/presubmit/
DGeneralTestsConfigValidation.java68 for (String configName : configs) { in testConfigsLoad()
71 configFactory.createConfigurationFromArgs(new String[] {configName}); in testConfigsLoad()
77 errors.add(String.format("\t%s: %s", configName, e.getMessage())); in testConfigsLoad()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/
DGCSConfigurationServerTest.java97 String configName = mConfigServer.getCurrentHostConfig(); in testGetCurrentHostConfig() local
98 Assert.assertEquals("host-config.xml", configName); in testGetCurrentHostConfig()