Definition at line 5 of file particlepropsvc_test.py.
| def newFormat.particlepropsvc_test.Test.__init__ |
( |
|
self | ) |
|
Definition at line 7 of file particlepropsvc_test.py.
9 BaseTest.__init__(self)
10 self.
name = os.path.basename(__file__)[:-5]
13 from Gaudi.Configuration import *
14 from Configurables import Gaudi__ParticlePropertySvc as ParticlePropertySvc
15 from Configurables import GaudiExamples__GaudiPPS as GaudiPPS
17 importOptions("Common.opts")
19 ParticlePropertySvc( ParticlePropertiesFile = "../data/ParticleTable.txt" )
21 ApplicationMgr( EvtMax = 1,
23 TopAlg = [GaudiPPS()] )
| def newFormat.particlepropsvc_test.Test.validator |
( |
|
self, |
|
|
|
stdout, |
|
|
|
stderr, |
|
|
|
result, |
|
|
|
causes, |
|
|
|
reference, |
|
|
|
error_reference |
|
) |
| |
Definition at line 25 of file particlepropsvc_test.py.
26 def validator(self,stdout,stderr, result, causes, reference, error_reference):
27 expected =
"Opened particle properties file : ../data/ParticleTable.txt"
28 if not expected
in stdout:
29 causes.append(
"missing signature")
30 result[
"GaudiTest.expected_line"] = result.Quote(expected)
31 if 'ERROR' in stdout
or 'FATAL' in stdout:
causes.append(
"error")
| newFormat.particlepropsvc_test.Test.name |
| newFormat.particlepropsvc_test.Test.options |
| newFormat.particlepropsvc_test.Test.program |
The documentation for this class was generated from the following file: