GaudiTesting.BaseTest.LineSkipper Class Reference
Inheritance diagram for GaudiTesting.BaseTest.LineSkipper:
Collaboration diagram for GaudiTesting.BaseTest.LineSkipper:

Public Member Functions

def __init__
 
def __processLine__ (self, line)
 
def __init__
 
def __processLine__ (self, line)
 
- Public Member Functions inherited from GaudiTesting.BaseTest.FilePreprocessor
def __processLine__ (self, line)
 
def __call__ (self, input)
 
def __add__ (self, rhs)
 
def __processLine__ (self, line)
 
def __call__ (self, input)
 
def __add__ (self, rhs)
 

Public Attributes

 strings
 
 regexps
 

Detailed Description

Definition at line 663 of file BaseTest.py.

Constructor & Destructor Documentation

def GaudiTesting.BaseTest.LineSkipper.__init__ (   self,
  strings = [],
  regexps = [] 
)

Definition at line 664 of file BaseTest.py.

664  def __init__(self, strings = [], regexps = []):
665  import re
666  self.strings = strings
667  self.regexps = map(re.compile,regexps)
668 
struct GAUDI_API map
Parametrisation class for map-like implementation.
def GaudiTesting.BaseTest.LineSkipper.__init__ (   self,
  strings = [],
  regexps = [] 
)

Definition at line 664 of file BaseTest.py.

664  def __init__(self, strings = [], regexps = []):
665  import re
666  self.strings = strings
667  self.regexps = map(re.compile,regexps)
668 
struct GAUDI_API map
Parametrisation class for map-like implementation.

Member Function Documentation

def GaudiTesting.BaseTest.LineSkipper.__processLine__ (   self,
  line 
)

Definition at line 669 of file BaseTest.py.

669  def __processLine__(self, line):
670  for s in self.strings:
671  if line.find(s) >= 0: return None
672  for r in self.regexps:
673  if r.search(line): return None
674  return line
675 
def __processLine__(self, line)
Definition: BaseTest.py:669
def GaudiTesting.BaseTest.LineSkipper.__processLine__ (   self,
  line 
)

Definition at line 669 of file BaseTest.py.

669  def __processLine__(self, line):
670  for s in self.strings:
671  if line.find(s) >= 0: return None
672  for r in self.regexps:
673  if r.search(line): return None
674  return line
675 
def __processLine__(self, line)
Definition: BaseTest.py:669

Member Data Documentation

GaudiTesting.BaseTest.LineSkipper.regexps

Definition at line 667 of file BaseTest.py.

GaudiTesting.BaseTest.LineSkipper.strings

Definition at line 666 of file BaseTest.py.


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