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 691 of file BaseTest.py.

Constructor & Destructor Documentation

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

Definition at line 692 of file BaseTest.py.

692  def __init__(self, strings = [], regexps = []):
693  import re
694  self.strings = strings
695  self.regexps = map(re.compile,regexps)
696 
struct GAUDI_API map
Parametrisation class for map-like implementation.
def GaudiTesting.BaseTest.LineSkipper.__init__ (   self,
  strings = [],
  regexps = [] 
)

Definition at line 692 of file BaseTest.py.

692  def __init__(self, strings = [], regexps = []):
693  import re
694  self.strings = strings
695  self.regexps = map(re.compile,regexps)
696 
struct GAUDI_API map
Parametrisation class for map-like implementation.

Member Function Documentation

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

Definition at line 697 of file BaseTest.py.

697  def __processLine__(self, line):
698  for s in self.strings:
699  if line.find(s) >= 0: return None
700  for r in self.regexps:
701  if r.search(line): return None
702  return line
703 
def __processLine__(self, line)
Definition: BaseTest.py:697
def GaudiTesting.BaseTest.LineSkipper.__processLine__ (   self,
  line 
)

Definition at line 697 of file BaseTest.py.

697  def __processLine__(self, line):
698  for s in self.strings:
699  if line.find(s) >= 0: return None
700  for r in self.regexps:
701  if r.search(line): return None
702  return line
703 
def __processLine__(self, line)
Definition: BaseTest.py:697

Member Data Documentation

GaudiTesting.BaseTest.LineSkipper.regexps

Definition at line 695 of file BaseTest.py.

GaudiTesting.BaseTest.LineSkipper.strings

Definition at line 694 of file BaseTest.py.


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