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.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.java517 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_unspecified() local
519 mFactory.createConfigurationFromArgs(new String[]{configName}); in testCreateConfigurationFromArgs_templateInclude_unspecified()
527 "config. msg was: %s", msg), msg.contains(configName)); in testCreateConfigurationFromArgs_templateInclude_unspecified()
548 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_missing() local
553 new String[]{configName, "--template:map", "target", includeName}); in testCreateConfigurationFromArgs_templateInclude_missing()
561 "config. msg was: %s", msg), msg.contains(configName)); in testCreateConfigurationFromArgs_templateInclude_missing()
571 final String configName = "template-include-config"; in testCreateConfigurationFromArgs_templateInclude_local() local
579 new String[]{configName, "--template:map", "target", includeName}); in testCreateConfigurationFromArgs_templateInclude_local()
597 final String configName = "depend-template-include-config"; in testCreateConfigurationFromArgs_templateInclude_dependent() local
604 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.java146 for (String configName : configs) { in loadConfigsFromJars()
147 toRun.putAll(loadOneConfig(configName, configName, abis, suiteTag)); in loadConfigsFromJars()
195 String configName, String configFullName, Set<IAbi> abis, String suiteTag) { in loadOneConfig() argument
197 final String name = configName.replace(CONFIG_EXT, ""); in loadOneConfig()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java251 String configName = findConfigName(name, null); in getConfigurationDef() local
256 def = new ConfigurationDef(configName); in getConfigurationDef()
257 loadConfiguration(configName, def, null, templateMap, null); in getConfigurationDef()
321 String configName = getAbsolutePath(null, name); in findConfigName() local
322 File localConfig = new File(configName); in findConfigName()
543 final String configName = listArgs.remove(0); in internalCreateConfigurationFromArgs() local
560 ConfigurationDef configDef = getConfigurationDef(configName, false, uniqueMap); in internalCreateConfigurationFromArgs()
608 final String configName = optionArgsRef.remove(0); in internalCreateGlobalConfigurationFromArgs() local
609 ConfigurationDef configDef = getConfigurationDef(configName, true, null); in internalCreateGlobalConfigurationFromArgs()
611 config.setOriginalConfig(configName); in internalCreateGlobalConfigurationFromArgs()
[all …]
DTemplateResolutionError.java35 public TemplateResolutionError(String configName, String templateName) { in TemplateResolutionError() argument
41 configName, templateName, templateName)); in TemplateResolutionError()
43 mConfigName = configName; in TemplateResolutionError()
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()
DIConfigurationFactory.java128 public void dumpConfig(String configName, PrintStream out); in dumpConfig() argument
/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/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/contrib/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()