The Gaudi Framework  v37r0 (b608885e)
GaudiTesting.BaseTest.BlockSkipper Class Reference
Inheritance diagram for GaudiTesting.BaseTest.BlockSkipper:
Collaboration diagram for GaudiTesting.BaseTest.BlockSkipper:

Public Member Functions

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

Public Attributes

 start
 
 end
 

Private Attributes

 _skipping
 

Detailed Description

Definition at line 926 of file BaseTest.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiTesting.BaseTest.BlockSkipper.__init__ (   self,
  start,
  end 
)

Definition at line 927 of file BaseTest.py.

927  def __init__(self, start, end):
928  self.start = start
929  self.end = end
930  self._skipping = False
931 

Member Function Documentation

◆ __processLine__()

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

Reimplemented from GaudiTesting.BaseTest.FilePreprocessor.

Definition at line 932 of file BaseTest.py.

932  def __processLine__(self, line):
933  if self.start in line:
934  self._skipping = True
935  return None
936  elif self.end in line:
937  self._skipping = False
938  elif self._skipping:
939  return None
940  return line
941 
942 

Member Data Documentation

◆ _skipping

GaudiTesting.BaseTest.BlockSkipper._skipping
private

Definition at line 930 of file BaseTest.py.

◆ end

GaudiTesting.BaseTest.BlockSkipper.end

Definition at line 929 of file BaseTest.py.

◆ start

GaudiTesting.BaseTest.BlockSkipper.start

Definition at line 928 of file BaseTest.py.


The documentation for this class was generated from the following file:
GaudiTesting.BaseTest.__processLine__
__processLine__
Definition: BaseTest.py:971