Lines Matching +full:test +full:-

2 # -*- coding: UTF-8 -*-
22 <?xml version="1.0" encoding="utf-8"?>
25 package="testdb" tests="4" timestamp="2012-11-15T01:02:29">
27 <property name="assert-passed" value="1"/>
29 <testcase classname="testdb.directory" name="1-passed-test" time="10"/>
30 <testcase classname="testdb.directory" name="2-failed-test" time="20">
35 <testcase classname="package.directory" name="3-errord-test" time="15">
40 <testcase classname="package.directory" name="3-skipped-test" time="0">
41 <skipped message="SKIPPED Test" type="skipped">
45 <testcase classname="testdb.directory" name="3-passed-test" time="10">
46 <system-out>
48 </system-out>
49 <system-err>
51 </system-err>
79 Suite of test cases.
104 raise TypeError("test_cases must be a list of test cases")
119 Builds the XML document for the JUnit test suite.
120 Produces clean unicode strings and decodes non-unicode with the help of encoding.
125 # build the test suite element
161 # add test suite stdout
163 stdout_element = ET.SubElement(xml_element, "system-out")
166 # add test suite stderr
168 stderr_element = ET.SubElement(xml_element, "system-err")
171 # test cases
176 # Number of assertions in the test case
235 # test stdout
237 stdout_element = ET.Element("system-out")
241 # test stderr
243 stderr_element = ET.Element("system-err")
285 raise TypeError("test_suites must be a list of test suites")
301 xml_string = _clean_illegal_xml_chars(xml_string.decode(encoding or "utf-8"))
306 xml_string = xml_string.encode(encoding or "utf-8")
321 # has problems with encoded str with non-ASCII (non-default-encoding) characters!
329 …@see: http://stackoverflow.com/questions/1707890/fast-way-to-filter-illegal-xml-unicode-chars-in-p…
358 …illegal_ranges = ["%s-%s" % (unichr(low), unichr(high)) for (low, high) in illegal_unichrs if low …
365 """A JUnit test case with a result and possibly some stdout or stderr"""
405 """Adds an error message, output, or both to the test case"""
424 """Adds a failure message, output, or both to the test case"""
443 """Adds a skipped message, output, or both to the test case"""
459 """returns true if this test case is a failure"""
463 """returns true if this test case is an error"""
467 """returns true if this test case has been skipped"""