| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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__
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 577 of file BaseTest.py.

## Constructor & Destructor Documentation

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

Definition at line 592 of file BaseTest.py.

592 def __init__(self,kind=None,id=None,outcome=PASS,annotations={}):
593 self.annotations = annotations.copy()
594
GaudiTesting.BaseTest.Result.__init__
def __init__
Definition: BaseTest.py:592
GaudiTesting.BaseTest.Result.annotations
annotations
Definition: BaseTest.py:593

## Member Function Documentation

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

Definition at line 595 of file BaseTest.py.

595 def __getitem__(self,key):
596 assert type(key) in types.StringTypes
597 return self.annotations[key]
598
gaudirun.type
string type
Definition: gaudirun.py:151
GaudiTesting.BaseTest.Result.annotations
annotations
Definition: BaseTest.py:593
GaudiTesting.BaseTest.Result.__getitem__
def __getitem__(self, key)
Definition: BaseTest.py:595

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

Definition at line 599 of file BaseTest.py.

599 def __setitem__(self,key,value):
600 assert type(key) in types.StringTypes
601 assert type(value) in types.StringTypes
602 self.annotations[key]=value
603
gaudirun.type
string type
Definition: gaudirun.py:151
GaudiTesting.BaseTest.Result.__setitem__
def __setitem__(self, key, value)
Definition: BaseTest.py:599
GaudiTesting.BaseTest.Result.annotations
annotations
Definition: BaseTest.py:593

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

Definition at line 604 of file BaseTest.py.

604 def Quote(self,string):
605 return string
606
607
608 #-------------------------------------------------------------------------#
609 #--------------------------- Validator Classes ---------------------------#
610 #-------------------------------------------------------------------------#
611
612 #Basic implementation of an option validator for Gaudi test. This implementation is based on the standard (LCG) validation functions used in QMTest.
613
614
GaudiTesting.BaseTest.Result.Quote
def Quote(self, string)
Definition: BaseTest.py:604

## Member Data Documentation

GaudiTesting.BaseTest.Result.annotations

Definition at line 593 of file BaseTest.py.

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

Definition at line 589 of file BaseTest.py.

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

Definition at line 581 of file BaseTest.py.

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

Definition at line 584 of file BaseTest.py.

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

Definition at line 580 of file BaseTest.py.

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

Definition at line 579 of file BaseTest.py.

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

Definition at line 585 of file BaseTest.py.

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

Definition at line 588 of file BaseTest.py.

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

Definition at line 586 of file BaseTest.py.

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

Definition at line 590 of file BaseTest.py.

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

Definition at line 587 of file BaseTest.py.

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

Definition at line 582 of file BaseTest.py.

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

- GaudiPolicy/python/GaudiTesting/BaseTest.py