Definition at line 704 of file BaseTest.py.
◆ __init__()
def GaudiTesting.BaseTest.Result.__init__ |
( |
|
self, |
|
|
|
kind = None , |
|
|
|
id = None , |
|
|
|
outcome = PASS , |
|
|
|
annotations = {} |
|
) |
| |
Definition at line 719 of file BaseTest.py.
719 def __init__(self, kind=None, id=None, outcome=PASS, annotations={}):
720 self.annotations = annotations.copy()
◆ __getitem__()
def GaudiTesting.BaseTest.Result.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
Definition at line 722 of file BaseTest.py.
723 assert isinstance(key, six.string_types)
724 return self.annotations[key]
◆ __setitem__()
def GaudiTesting.BaseTest.Result.__setitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
Definition at line 726 of file BaseTest.py.
726 def __setitem__(self, key, value):
727 assert isinstance(key, six.string_types)
729 value, six.string_types),
'{!r} is not a string'.
format(value)
730 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 732 of file BaseTest.py.
732 def Quote(self, text):
734 Convert text to html by escaping special chars and adding <pre> tags.
736 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: