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)
 
def __init__ (self, start, end)
 
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

 start
 
 end
 

Private Attributes

 _skipping
 

Detailed Description

Definition at line 704 of file BaseTest.py.

Constructor & Destructor Documentation

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

Definition at line 705 of file BaseTest.py.

705  def __init__(self, start, end):
706  self.start = start
707  self.end = end
708  self._skipping = False
709 
def __init__(self, start, end)
Definition: BaseTest.py:705
def GaudiTesting.BaseTest.BlockSkipper.__init__ (   self,
  start,
  end 
)

Definition at line 705 of file BaseTest.py.

705  def __init__(self, start, end):
706  self.start = start
707  self.end = end
708  self._skipping = False
709 
def __init__(self, start, end)
Definition: BaseTest.py:705

Member Function Documentation

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

Definition at line 710 of file BaseTest.py.

710  def __processLine__(self, line):
711  if self.start in line:
712  self._skipping = True
713  return None
714  elif self.end in line:
715  self._skipping = False
716  elif self._skipping:
717  return None
718  return line
719 
def GaudiTesting.BaseTest.BlockSkipper.__processLine__ (   self,
  line 
)

Definition at line 710 of file BaseTest.py.

710  def __processLine__(self, line):
711  if self.start in line:
712  self._skipping = True
713  return None
714  elif self.end in line:
715  self._skipping = False
716  elif self._skipping:
717  return None
718  return line
719 

Member Data Documentation

GaudiTesting.BaseTest.BlockSkipper._skipping
private

Definition at line 708 of file BaseTest.py.

GaudiTesting.BaseTest.BlockSkipper.end

Definition at line 707 of file BaseTest.py.

GaudiTesting.BaseTest.BlockSkipper.start

Definition at line 706 of file BaseTest.py.


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