The Gaudi Framework
v25r6p1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
abort_event_test.py
Go to the documentation of this file.
1
# -*- coding: utf-8 -*-
2
import
BaseTest
3
from
BaseTest
import
*
4
5
class
Test
(
BaseTest
):
6
7
def
__init__
(self):
8
BaseTest.__init__(self)
9
self.
name
= os.path.basename(__file__)[:-3]
10
self.
program
=
"gaudirun.py"
11
self.
options
=
"""from Gaudi.Configuration import *
12
from Configurables import HelloWorld, AbortEventAlg
13
14
importOptions("Common.opts")
15
16
h1 = HelloWorld("HelloWorld1")
17
h2 = HelloWorld("HelloWorld2")
18
19
alg = AbortEventAlg(AbortedEventNumber = 3)
20
21
app = ApplicationMgr(TopAlg = [h1,alg,h2],
22
EvtSel = "NONE", EvtMax = 5)
23
24
MessageSvc().setDebug.append("EventLoopMgr") """
25
26
def
validator
(self,stdout,stderr, result, causes, reference, error_reference):
27
self.
findReferenceBlock
(
"""
28
HelloWorld1 INFO beginning new run....
29
HelloWorld2 INFO beginning new run....
30
HelloWorld1 INFO executing....
31
HelloWorld2 INFO executing....
32
HelloWorld1 INFO executing....
33
HelloWorld2 INFO executing....
34
HelloWorld1 INFO executing....
35
EventLoopMgr DEBUG AbortEvent incident fired by AbortEventAlg
36
HelloWorld1 INFO executing....
37
HelloWorld2 INFO executing....
38
HelloWorld1 INFO executing....
39
HelloWorld2 INFO executing....
40
HelloWorld1 INFO ending new run....
41
HelloWorld2 INFO ending new run....
42
"""
, signature_offset = 7)
BaseTest.BaseTest.program
program
Definition:
BaseTest.py:19
newFormat.abort_event_test.Test.validator
def validator
Definition:
abort_event_test.py:26
BaseTest.BaseTest
Definition:
BaseTest.py:17
BaseTest.BaseTest.findReferenceBlock
def findReferenceBlock
Definition:
BaseTest.py:178
BaseTest.BaseTest.options
options
Definition:
BaseTest.py:23
BaseTest.BaseTest.name
name
Definition:
BaseTest.py:34
newFormat.abort_event_test.Test.__init__
def __init__
Definition:
abort_event_test.py:7
newFormat.abort_event_test.Test
Definition:
abort_event_test.py:5
patches
QMTProject
Code
newFormat
abort_event_test.py
Generated on Tue Dec 9 2014 16:33:08 for The Gaudi Framework by
1.8.7