Definition at line 827 of file BaseTest.py.
◆ __init__()
def GaudiTesting.BaseTest.Result.__init__ |
( |
|
self, |
|
|
|
kind = None , |
|
|
|
id = None , |
|
|
|
outcome = PASS , |
|
|
|
annotations = {} |
|
) |
| |
Definition at line 841 of file BaseTest.py.
841 def __init__(self, kind=None, id=None, outcome=PASS, annotations={}):
842 self.annotations = annotations.copy()
◆ __getitem__()
def GaudiTesting.BaseTest.Result.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
Definition at line 844 of file BaseTest.py.
845 assert isinstance(key, str)
846 return self.annotations[key]
◆ __setitem__()
def GaudiTesting.BaseTest.Result.__setitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
Definition at line 848 of file BaseTest.py.
848 def __setitem__(self, key, value):
849 assert isinstance(key, str)
850 assert isinstance(value, str),
"{!r} is not a string".
format(value)
851 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 853 of file BaseTest.py.
853 def Quote(self, text):
855 Convert text to html by escaping special chars and adding <pre> tags.
857 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: