Definition at line 778 of file BaseTest.py.
◆ __init__()
def GaudiTesting.BaseTest.Result.__init__ |
( |
|
self, |
|
|
|
kind = None , |
|
|
|
id = None , |
|
|
|
outcome = PASS , |
|
|
|
annotations = {} |
|
) |
| |
Definition at line 793 of file BaseTest.py.
793 def __init__(self, kind=None, id=None, outcome=PASS, annotations={}):
794 self.annotations = annotations.copy()
◆ __getitem__()
def GaudiTesting.BaseTest.Result.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
Definition at line 796 of file BaseTest.py.
797 assert isinstance(key, six.string_types)
798 return self.annotations[key]
◆ __setitem__()
def GaudiTesting.BaseTest.Result.__setitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
Definition at line 800 of file BaseTest.py.
800 def __setitem__(self, key, value):
801 assert isinstance(key, six.string_types)
802 assert isinstance(value, six.string_types),
"{!r} is not a string".
format(value)
803 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 805 of file BaseTest.py.
805 def Quote(self, text):
807 Convert text to html by escaping special chars and adding <pre> tags.
809 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: