Definition at line 774 of file BaseTest.py.
◆ __init__()
def GaudiTesting.BaseTest.Result.__init__ |
( |
|
self, |
|
|
|
kind = None , |
|
|
|
id = None , |
|
|
|
outcome = PASS , |
|
|
|
annotations = {} |
|
) |
| |
Definition at line 788 of file BaseTest.py.
788 def __init__(self, kind=None, id=None, outcome=PASS, annotations={}):
789 self.annotations = annotations.copy()
◆ __getitem__()
def GaudiTesting.BaseTest.Result.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
Definition at line 791 of file BaseTest.py.
792 assert isinstance(key, six.string_types)
793 return self.annotations[key]
◆ __setitem__()
def GaudiTesting.BaseTest.Result.__setitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
Definition at line 795 of file BaseTest.py.
795 def __setitem__(self, key, value):
796 assert isinstance(key, six.string_types)
797 assert isinstance(value, six.string_types),
"{!r} is not a string".
format(value)
798 self.annotations[key] = value
◆ Quote()
def GaudiTesting.BaseTest.Result.Quote |
( |
|
self, |
|
|
|
text |
|
) |
| |
Convert text to html by escaping special chars and adding <pre> tags.
Definition at line 800 of file BaseTest.py.
800 def Quote(self, text):
802 Convert text to html by escaping special chars and adding <pre> tags.
804 return "<pre>{}</pre>".
format(escape_for_html(text))
◆ annotations
GaudiTesting.BaseTest.Result.annotations |
◆ END_TIME
GaudiTesting.BaseTest.Result.END_TIME |
|
static |
◆ ERROR
GaudiTesting.BaseTest.Result.ERROR |
|
static |
◆ EXCEPTION
GaudiTesting.BaseTest.Result.EXCEPTION |
|
static |
◆ FAIL
GaudiTesting.BaseTest.Result.FAIL |
|
static |
◆ PASS
GaudiTesting.BaseTest.Result.PASS |
|
static |
◆ RESOURCE
GaudiTesting.BaseTest.Result.RESOURCE |
|
static |
◆ START_TIME
GaudiTesting.BaseTest.Result.START_TIME |
|
static |
◆ TARGET
GaudiTesting.BaseTest.Result.TARGET |
|
static |
◆ TIMEOUT_DETAIL
GaudiTesting.BaseTest.Result.TIMEOUT_DETAIL |
|
static |
◆ TRACEBACK
GaudiTesting.BaseTest.Result.TRACEBACK |
|
static |
◆ UNTESTED
GaudiTesting.BaseTest.Result.UNTESTED |
|
static |
The documentation for this class was generated from the following file: