Home
last modified time | relevance | path

Searched refs:mConfigDef (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationDefTest.java63 private ConfigurationDef mConfigDef; field in ConfigurationDefTest
67 mConfigDef = new ConfigurationDef(CONFIG_NAME); in setUp()
68 mConfigDef.setDescription(CONFIG_DESCRIPTION); in setUp()
69 mConfigDef.addConfigObjectDef(Configuration.BUILD_PROVIDER_TYPE_NAME, in setUp()
76 mConfigDef.addOptionDef(MAP_OPTION_NAME, OPTION_KEY, OPTION_VALUE, CONFIG_NAME); in testCreateConfiguration_optionMap()
77 mConfigDef.addOptionDef(MAP_OPTION_NAME, OPTION_KEY2, OPTION_VALUE2, CONFIG_NAME); in testCreateConfiguration_optionMap()
78 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_optionMap()
89 mConfigDef.addOptionDef(COLLECTION_OPTION_NAME, null, OPTION_VALUE, CONFIG_NAME); in testCreateConfiguration_optionCollection()
90 mConfigDef.addOptionDef(COLLECTION_OPTION_NAME, null, OPTION_VALUE2, CONFIG_NAME); in testCreateConfiguration_optionCollection()
91 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_optionCollection()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationXmlParser.java66 private final ConfigurationDef mConfigDef; field in ConfigurationXmlParser.ConfigHandler
89 mConfigDef = def; in ConfigHandler()
142 mConfigDef.setMultiDeviceMode(true); in startElement()
214 mConfigDef.addOptionDef( in startElement()
221 if (mConfigDef.getDescription() == null || in startElement()
222 mConfigDef.getDescription().isEmpty()) { in startElement()
223 mConfigDef.setDescription(description); in startElement()
236 mConfigDef, in startElement()
245 mConfigDef.getName(), includeName)); in startElement()
268 throwTemplateException(mConfigDef.getName(), templateName); in startElement()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/
DConfigurationYamlParserTest.java50 private ConfigurationDef mConfigDef; field in ConfigurationYamlParserTest
55 mConfigDef = new ConfigurationDef("test"); in setUp()
61 mParser.parse(mConfigDef, "source", res, false); in testParseConfig()
63 IConfiguration config = mConfigDef.createConfiguration(); in testParseConfig()
111 mParser.parse(mConfigDef, "source", res, true /* createdAsModule */); in testParseModule()
113 IConfiguration config = mConfigDef.createConfiguration(); in testParseModule()
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/
DIDefaultObjectLoader.java35 private ConfigurationDef mConfigDef; field in IDefaultObjectLoader.LoaderConfiguration
40 mConfigDef = configDef; in setConfigurationDef()
60 return mConfigDef; in getConfigDef()