Definition at line 709 of file BaseTest.py.
◆ __init__()
| def GaudiTesting.BaseTest.Result.__init__ |
( |
|
self, |
|
|
|
kind = None, |
|
|
|
id = None, |
|
|
|
outcome = PASS, |
|
|
|
annotations = {} |
|
) |
| |
Definition at line 724 of file BaseTest.py.
724 def __init__(self, kind=None, id=None, outcome=PASS, annotations={}):
725 self.annotations = annotations.copy()
◆ __getitem__()
| def GaudiTesting.BaseTest.Result.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
Definition at line 727 of file BaseTest.py.
728 assert isinstance(key, six.string_types)
729 return self.annotations[key]
◆ __setitem__()
| def GaudiTesting.BaseTest.Result.__setitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
Definition at line 731 of file BaseTest.py.
731 def __setitem__(self, key, value):
732 assert isinstance(key, six.string_types)
734 value, six.string_types),
'{!r} is not a string'.
format(value)
735 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 737 of file BaseTest.py.
737 def Quote(self, text):
739 Convert text to html by escaping special chars and adding <pre> tags.
741 return "<pre>{}</pre>".
format(escape_for_html(text))
◆ annotations
| GaudiTesting.BaseTest.Result.annotations |
◆ END_TIME
| string GaudiTesting.BaseTest.Result.END_TIME = "" |
|
static |
◆ ERROR
| string GaudiTesting.BaseTest.Result.ERROR = 'ERROR' |
|
static |
◆ EXCEPTION
| string GaudiTesting.BaseTest.Result.EXCEPTION = "" |
|
static |
◆ FAIL
| string GaudiTesting.BaseTest.Result.FAIL = 'FAIL' |
|
static |
◆ PASS
| string GaudiTesting.BaseTest.Result.PASS = 'PASS' |
|
static |
◆ RESOURCE
| string GaudiTesting.BaseTest.Result.RESOURCE = "" |
|
static |
◆ START_TIME
| string GaudiTesting.BaseTest.Result.START_TIME = "" |
|
static |
◆ TARGET
| string GaudiTesting.BaseTest.Result.TARGET = "" |
|
static |
◆ TIMEOUT_DETAIL
| string GaudiTesting.BaseTest.Result.TIMEOUT_DETAIL = "" |
|
static |
◆ TRACEBACK
| string GaudiTesting.BaseTest.Result.TRACEBACK = "" |
|
static |
◆ UNTESTED
| string GaudiTesting.BaseTest.Result.UNTESTED = 'UNTESTED' |
|
static |
The documentation for this class was generated from the following file: