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

Constructor & Destructor Documentation

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

Definition at line 677 of file BaseTest.py.

677  def __init__(self, start, end):
678  self.start = start
679  self.end = end
680  self._skipping = False
681 
def __init__(self, start, end)
Definition: BaseTest.py:677
def GaudiTesting.BaseTest.BlockSkipper.__init__ (   self,
  start,
  end 
)

Definition at line 677 of file BaseTest.py.

677  def __init__(self, start, end):
678  self.start = start
679  self.end = end
680  self._skipping = False
681 
def __init__(self, start, end)
Definition: BaseTest.py:677

Member Function Documentation

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

Definition at line 682 of file BaseTest.py.

682  def __processLine__(self, line):
683  if self.start in line:
684  self._skipping = True
685  return None
686  elif self.end in line:
687  self._skipping = False
688  elif self._skipping:
689  return None
690  return line
691 
def GaudiTesting.BaseTest.BlockSkipper.__processLine__ (   self,
  line 
)

Definition at line 682 of file BaseTest.py.

682  def __processLine__(self, line):
683  if self.start in line:
684  self._skipping = True
685  return None
686  elif self.end in line:
687  self._skipping = False
688  elif self._skipping:
689  return None
690  return line
691 

Member Data Documentation

GaudiTesting.BaseTest.BlockSkipper._skipping
private

Definition at line 680 of file BaseTest.py.

GaudiTesting.BaseTest.BlockSkipper.end

Definition at line 679 of file BaseTest.py.

GaudiTesting.BaseTest.BlockSkipper.start

Definition at line 678 of file BaseTest.py.


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