class documentation

class TestCaseResult(object):

Constructor: TestCaseResult(name)

View In Hierarchy

'testcase' result container

Method __init__ @param name: name of testcase @type name: str
Method add_error @param failure TestError
Method add_failure @param failure TestFailure
Method xml @return XML tag representing the object, with non-XML text filtered out @rtype: str
Method xml_element @return XML tag representing the object, with non-XML text filtered out @rtype: xml.etree.ElementTree.Element
Class Variable description Undocumented
Class Variable passed Undocumented
Instance Variable classname Undocumented
Instance Variable errors Undocumented
Instance Variable failures Undocumented
Instance Variable name Undocumented
Instance Variable time Undocumented
Method _description @return: description of testcase result @rtype: str
Method _error_description @return: description of testcase error @rtype: str
Method _failure_description @return: description of testcase failure @rtype: str
Method _passed @return: True if test passed @rtype: bool
def __init__(self, name):

@param name: name of testcase @type name: str

def add_error(self, error):

@param failure TestError

def add_failure(self, failure):

@param failure TestFailure

def xml(self):

@return XML tag representing the object, with non-XML text filtered out @rtype: str

def xml_element(self):

@return XML tag representing the object, with non-XML text filtered out @rtype: xml.etree.ElementTree.Element

description =

Undocumented

passed =

Undocumented

classname: str =

Undocumented

errors: list =

Undocumented

failures: list =

Undocumented

name =

Undocumented

time: float =

Undocumented

def _description(self):

@return: description of testcase result @rtype: str

def _error_description(self):

@return: description of testcase error @rtype: str

def _failure_description(self):

@return: description of testcase failure @rtype: str

def _passed(self):

@return: True if test passed @rtype: bool