| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GaudiTesting.BaseTest.Result Class Reference
Collaboration diagram for GaudiTesting.BaseTest.Result:
[legend]

## Public Member Functions
def | __init__ (self, kind=None, id=None, outcome=PASS, annotations={})
def | __getitem__ (self, key)
def | __setitem__ (self, key, value)
def | Quote (self, string)

## Public Attributes
| annotations

## Static Public Attributes
string | PASS = 'PASS'
string | FAIL = 'FAIL'
string | ERROR = 'ERROR'
string | UNTESTED = 'UNTESTED'
string | EXCEPTION = ""
string | RESOURCE = ""
string | TARGET = ""
string | TRACEBACK = ""
string | START_TIME = ""
string | END_TIME = ""
string | TIMEOUT_DETAIL = ""

## Detailed Description

Definition at line 662 of file BaseTest.py.

## Constructor & Destructor Documentation

## ◆ __init__()

def GaudiTesting.BaseTest.Result.__init__ | ( |  | self,
|  |  | kind = `None`,
|  |  | id = `None`,
|  |  | outcome = `PASS`,
|  |  | annotations = `{}`
| ) |  |

Definition at line 677 of file BaseTest.py.

677 def __init__(self, kind=None, id=None, outcome=PASS, annotations={}):
678 self.annotations = annotations.copy()
679

## Member Function Documentation

## ◆ __getitem__()

def GaudiTesting.BaseTest.Result.__getitem__ | ( |  | self,
|  |  | key
| ) |  |

Definition at line 680 of file BaseTest.py.

680 def __getitem__(self, key):
681 assert type(key) in types.StringTypes
682 return self.annotations[key]
683
gaudirun.type
type
Definition: gaudirun.py:142
GaudiPython.Pythonizations.__getitem__
__getitem__
Definition: Pythonizations.py:115

## ◆ __setitem__()

def GaudiTesting.BaseTest.Result.__setitem__ | ( |  | self,
|  |  | key,
|  |  | value
| ) |  |

Definition at line 684 of file BaseTest.py.

684 def __setitem__(self, key, value):
685 assert type(key) in types.StringTypes
686 assert type(value) in types.StringTypes
687 self.annotations[key] = value
688
gaudirun.type
type
Definition: gaudirun.py:142

## ◆ Quote()

def GaudiTesting.BaseTest.Result.Quote | ( |  | self,
|  |  | string
| ) |  |

Definition at line 689 of file BaseTest.py.

689 def Quote(self, string):
690 return string
691
692
693 # -------------------------------------------------------------------------#
694 # --------------------------- Validator Classes ---------------------------#
695 # -------------------------------------------------------------------------#
696
697 # Basic implementation of an option validator for Gaudi test. This
698 # implementation is based on the standard (LCG) validation functions used
699 # in QMTest.
700
701

## Member Data Documentation

## ◆ annotations

GaudiTesting.BaseTest.Result.annotations

Definition at line 678 of file BaseTest.py.

## ◆ END_TIME

string GaudiTesting.BaseTest.Result.END_TIME = ""
| static

Definition at line 674 of file BaseTest.py.

## ◆ ERROR

string GaudiTesting.BaseTest.Result.ERROR = 'ERROR'
| static

Definition at line 666 of file BaseTest.py.

## ◆ EXCEPTION

string GaudiTesting.BaseTest.Result.EXCEPTION = ""
| static

Definition at line 669 of file BaseTest.py.

## ◆ FAIL

string GaudiTesting.BaseTest.Result.FAIL = 'FAIL'
| static

Definition at line 665 of file BaseTest.py.

## ◆ PASS

string GaudiTesting.BaseTest.Result.PASS = 'PASS'
| static

Definition at line 664 of file BaseTest.py.

## ◆ RESOURCE

string GaudiTesting.BaseTest.Result.RESOURCE = ""
| static

Definition at line 670 of file BaseTest.py.

## ◆ START_TIME

string GaudiTesting.BaseTest.Result.START_TIME = ""
| static

Definition at line 673 of file BaseTest.py.

## ◆ TARGET

string GaudiTesting.BaseTest.Result.TARGET = ""
| static

Definition at line 671 of file BaseTest.py.

## ◆ TIMEOUT_DETAIL

string GaudiTesting.BaseTest.Result.TIMEOUT_DETAIL = ""
| static

Definition at line 675 of file BaseTest.py.

## ◆ TRACEBACK

string GaudiTesting.BaseTest.Result.TRACEBACK = ""
| static

Definition at line 672 of file BaseTest.py.

## ◆ UNTESTED

string GaudiTesting.BaseTest.Result.UNTESTED = 'UNTESTED'
| static

Definition at line 667 of file BaseTest.py.

The documentation for this class was generated from the following file:

- GaudiPolicy/python/GaudiTesting/BaseTest.py