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