OpenStructure
|
Inherits object.
Public Member Functions | |
__init__ (self, test, time) | |
print_report (self, stream) | |
Static Public Member Functions | |
create_success (test, time) | |
create_failure (test, time, failure) | |
create_error (test, time, error) | |
Protected Member Functions | |
_print_error (self, stream, tagname, error) | |
Protected Attributes | |
_class | |
_method | |
_time | |
_error | |
_failure | |
Information about a particular test. Used by _XMLTestResult.
Definition at line 24 of file xmlrunner.py.
__init__ | ( | self, | |
test, | |||
time | |||
) |
Definition at line 32 of file xmlrunner.py.
|
protected |
Print information from a failure or error to the supplied stream.
Definition at line 74 of file xmlrunner.py.
|
static |
Create a _TestInfo instance for an erroneous test.
Definition at line 51 of file xmlrunner.py.
|
static |
Create a _TestInfo instance for a failed test.
Definition at line 44 of file xmlrunner.py.
|
static |
Create a _TestInfo instance for a successful test.
Definition at line 39 of file xmlrunner.py.
print_report | ( | self, | |
stream | |||
) |
Print information about this test case in XML format to the supplied stream.
Definition at line 57 of file xmlrunner.py.
|
protected |
Definition at line 33 of file xmlrunner.py.
|
protected |
Definition at line 35 of file xmlrunner.py.
|
protected |
Definition at line 36 of file xmlrunner.py.
|
protected |
Definition at line 33 of file xmlrunner.py.
|
protected |
Definition at line 34 of file xmlrunner.py.