All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
bug_30209_namespace_in_sequencer_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__)[:-5]
10  self.program="gaudirun.py"
11  self.options="""
12 from Gaudi.Configuration import *
13 from Configurables import GaudiExamples__CounterSvcAlg
14 
15 counter2 = GaudiExamples__CounterSvcAlg("Counter2",CounterBaseName = "Test2")
16 
17 seq = Sequencer(Members = [ GaudiExamples__CounterSvcAlg.getType(),
18  counter2,
19  "GaudiExamples::StatSvcAlg:invert" ])
20 
21 ApplicationMgr(TopAlg = [seq], EvtSel = "NONE", EvtMax = 1)"""
22 
23  def validator(self,stdout,stderr, result, causes, reference, error_reference):
24  expected = "Sequencer INFO Member list: GaudiExamples::CounterSvcAlg, GaudiExamples::CounterSvcAlg/Counter2, GaudiExamples::StatSvcAlg:invert"
25  if not expected in stdout:
26  causes.append("missing signature")
27  result["GaudiTest.expected_line"] = result.Quote(expected)