Home | History | Annotate | Download | only in test_defs

Lines Matching full:suite

18 """Utility to parse suite info from xml."""
39 _SUITE_ATTR = 'suite'
46 """Populates common suite attributes from given suite xml element.
53 parsed test suite or None
107 """Parses instrumentation suite attributes from xml."""
118 """Creates suite and populate with data from xml element."""
119 suite = instrumentation_test.InstrumentationTestSuite()
120 XmlSuiteParser._ParseCommonAttributes(self, suite_element, suite)
121 suite.SetPackageName(self._ParseAttribute(suite_element, self._PKG_ATTR,
123 suite.SetRunnerName(self._ParseAttribute(
126 suite.SetClassName(self._ParseAttribute(suite_element, self._CLASS_ATTR,
128 suite.SetTargetName(self._ParseAttribute(suite_element, self._TARGET_ATTR,
130 return suite
134 """Parses native suite attributes from xml."""
139 """Creates suite and populate with data from xml element."""
140 suite = native_test.NativeTestSuite()
141 XmlSuiteParser._ParseCommonAttributes(self, suite_element, suite)
142 return suite
146 """Parses host suite attributes from xml."""
156 """Creates suite and populate with data from xml element."""
157 suite = host_test.HostTestSuite()
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))
162 return suite