All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
thistread_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.args=["$GAUDIEXAMPLESROOT/options/THistRead.opts"]
11  self.reference="refs/THistRead.ref"
12 
13  def validator(self,stdout,stderr, result, causes, reference, error_reference):
14  preprocessor = normalizeExamples + \
15  RegexpReplacer(when = "^THistSvc",
16  orig = r"(stream: read[0-9] name: tuple[0-9].rt size: )([0-9]*)",
17  repl = r"\1###")
18 
19  self.validateWithReference(preproc = preprocessor)
def validateWithReference
Definition: BaseTest.py:330