All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
newFormat.aida2root_test.Test Class Reference
Inheritance diagram for newFormat.aida2root_test.Test:
Collaboration diagram for newFormat.aida2root_test.Test:

Public Member Functions

def __init__
 
def validator
 
- Public Member Functions inherited from BaseTest.BaseTest
def __init__
 
def validator
 
def runTest
 
def ValidateOutput
 
def findReferenceBlock
 
def countErrorLines
 
def CheckTTreesSummaries
 
def CheckHistosSummaries
 
def validateWithReference
 

Public Attributes

 name
 
 args
 
 reference
 
 options
 
- Public Attributes inherited from BaseTest.BaseTest
 program
 
 args
 
 reference
 
 error_reference
 
 options
 
 stderr
 
 timeout
 
 exit_code
 
 environment
 
 target
 
 traceback
 
 unsupported_platforms
 
 signal
 
 status
 
 name
 
 causes
 
 timeOut
 
 result
 
 returnedCode
 
 out
 
 err
 
 proc
 

Detailed Description

Definition at line 5 of file aida2root_test.py.

Constructor & Destructor Documentation

def newFormat.aida2root_test.Test.__init__ (   self)

Definition at line 7 of file aida2root_test.py.

7 
8  def __init__(self):
9  BaseTest.__init__(self)
10  self.name = os.path.basename(__file__)[:-3]
11  self.args=["$GAUDIEXAMPLESROOT/options/Aida2Root.opts"]
12  self.reference = "refs/Aida2Root.ref"
13  self.options="""from Gaudi.Configuration import *
14 from Configurables import HelloWorld, AbortEventAlg
15 
16 importOptions("Common.opts")
17 
18 h1 = HelloWorld("HelloWorld1")
19 h2 = HelloWorld("HelloWorld2")
20 
21 alg = AbortEventAlg(AbortedEventNumber = 3)
22 
23 app = ApplicationMgr(TopAlg = [h1,alg,h2],
24  EvtSel = "NONE", EvtMax = 5)
25 
26 MessageSvc().setDebug.append("EventLoopMgr") """

Member Function Documentation

def newFormat.aida2root_test.Test.validator (   self,
  stdout,
  stderr,
  result,
  causes,
  reference,
  error_reference 
)

Definition at line 27 of file aida2root_test.py.

27 
28  def validator(self,stdout,stderr, result, causes, reference, error_reference):
29  preprocessor = normalizeExamples + RegexpReplacer(when = "^Aida2Root",orig = r"(INFO.*'(skewness|kurtosis)(Err)?'.*)\|([0-9.e+\- ]*\|){2}",repl = r"\1| ### | ### |")
30  self.validateWithReference(preproc = preprocessor)
def validateWithReference
Definition: BaseTest.py:330

Member Data Documentation

newFormat.aida2root_test.Test.args

Definition at line 10 of file aida2root_test.py.

newFormat.aida2root_test.Test.name

Definition at line 9 of file aida2root_test.py.

newFormat.aida2root_test.Test.options

Definition at line 12 of file aida2root_test.py.

newFormat.aida2root_test.Test.reference

Definition at line 11 of file aida2root_test.py.


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