The Gaudi Framework  master (594c33fa)
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 968 of file BaseTest.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 969 of file BaseTest.py.

969  def __init__(self, start, end):
970  self.start = start
971  self.end = end
972  self._skipping = False
973 

Member Function Documentation

◆ __processLine__()

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

Reimplemented from GaudiTesting.BaseTest.FilePreprocessor.

Definition at line 974 of file BaseTest.py.

974  def __processLine__(self, line):
975  if self.start in line:
976  self._skipping = True
977  return None
978  elif self.end in line:
979  self._skipping = False
980  elif self._skipping:
981  return None
982  return line
983 
984 

Member Data Documentation

◆ _skipping

GaudiTesting.BaseTest.BlockSkipper._skipping
private

Definition at line 972 of file BaseTest.py.

◆ end

GaudiTesting.BaseTest.BlockSkipper.end

Definition at line 971 of file BaseTest.py.

◆ start

GaudiTesting.BaseTest.BlockSkipper.start

Definition at line 970 of file BaseTest.py.


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