Jpp
18.5.2
the software that should make you happy
|
Public Member Functions | |
def | __init__ |
def | build_xml_doc |
Static Public Member Functions | |
def | to_xml_string |
def | to_file |
Public Attributes | |
name | |
test_cases | |
timestamp | |
hostname | |
id | |
package | |
file | |
log | |
url | |
stdout | |
stderr | |
properties | |
Static Private Member Functions | |
def | _clean_illegal_xml_chars |
Suite of test cases. Can handle unicode strings or binary strings if their encoding is provided.
Definition at line 146 of file run_tests.py.
def run_tests.TestSuite.__init__ | ( | self, | |
name, | |||
test_cases = None , |
|||
hostname = None , |
|||
id = None , |
|||
package = None , |
|||
timestamp = None , |
|||
properties = None , |
|||
file = None , |
|||
log = None , |
|||
url = None , |
|||
stdout = None , |
|||
stderr = None |
|||
) |
Definition at line 163 of file run_tests.py.
def run_tests.TestSuite.build_xml_doc | ( | self, | |
encoding = None |
|||
) |
Builds the XML document for the JUnit test suite. Produces clean unicode strings and decodes non-unicode with the help of encoding. @param encoding: Used to decode encoded strings. @return: XML document with unicode string elements
Definition at line 183 of file run_tests.py.
|
static |
Returns the string representation of the JUnit XML document. @param encoding: The encoding of the input. @return: unicode string
Definition at line 324 of file run_tests.py.
|
static |
|
staticprivate |
Removes any illegal unicode characters from the given XML string. @see: http://stackoverflow.com/questions/1707890/fast-way-to-filter-illegal-xml-unicode-chars-in-python
Definition at line 377 of file run_tests.py.
run_tests.TestSuite.name |
Definition at line 164 of file run_tests.py.
run_tests.TestSuite.test_cases |
Definition at line 171 of file run_tests.py.
run_tests.TestSuite.timestamp |
Definition at line 172 of file run_tests.py.
run_tests.TestSuite.hostname |
Definition at line 173 of file run_tests.py.
run_tests.TestSuite.id |
Definition at line 174 of file run_tests.py.
run_tests.TestSuite.package |
Definition at line 175 of file run_tests.py.
run_tests.TestSuite.file |
Definition at line 176 of file run_tests.py.
run_tests.TestSuite.log |
Definition at line 177 of file run_tests.py.
run_tests.TestSuite.url |
Definition at line 178 of file run_tests.py.
run_tests.TestSuite.stdout |
Definition at line 179 of file run_tests.py.
run_tests.TestSuite.stderr |
Definition at line 180 of file run_tests.py.
run_tests.TestSuite.properties |
Definition at line 181 of file run_tests.py.