Lines Matching refs:suite_element

68   def _ParseCommonAttributes(self, suite_element, test_suite):  argument
69 test_suite.SetName(self._ParseAttribute(suite_element, self._NAME_ATTR,
71 test_suite.SetBuildPath(self._ParseAttribute(suite_element,
73 test_suite.SetContinuous(self._ParseAttribute(suite_element,
76 test_suite.SetIsGrantedPermissions(self._ParseAttribute(suite_element,
79 test_suite.SetSuite(self._ParseAttribute(suite_element, self._SUITE_ATTR, False,
81 test_suite.SetDescription(self._ParseAttribute(suite_element,
86 suite_element, self._EXTRA_BUILD_ARGS_ATTR, False, default_value=''))
88 suite_element, self._FULL_MAKE_ATTR, False, default_value=False))
91 def _ParseAttribute(self, suite_element, attribute_name, mandatory, argument
93 if suite_element.hasAttribute(attribute_name):
94 value = suite_element.getAttribute(attribute_name)
117 def Parse(self, suite_element): argument
120 XmlSuiteParser._ParseCommonAttributes(self, suite_element, suite)
121 suite.SetPackageName(self._ParseAttribute(suite_element, self._PKG_ATTR,
124 suite_element, self._RUNNER_ATTR, False,
126 suite.SetClassName(self._ParseAttribute(suite_element, self._CLASS_ATTR,
128 suite.SetTargetName(self._ParseAttribute(suite_element, self._TARGET_ATTR,
138 def Parse(self, suite_element): argument
141 XmlSuiteParser._ParseCommonAttributes(self, suite_element, suite)
155 def Parse(self, suite_element): argument
158 XmlSuiteParser._ParseCommonAttributes(self, suite_element, suite)
159 suite.SetClassName(self._ParseAttribute(suite_element, self._CLASS_ATTR,
161 suite.SetJarName(self._ParseAttribute(suite_element, self._JAR_ATTR, True))