| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | Private Attributes | List of all members
GaudiTesting.BaseTest.BlockSkipper Class Reference
Inheritance diagram for GaudiTesting.BaseTest.BlockSkipper:
[legend]
Collaboration diagram for GaudiTesting.BaseTest.BlockSkipper:
[legend]

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

## Constructor & Destructor Documentation

## ◆ __init__()

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

Definition at line 811 of file BaseTest.py.

811 def __init__(self, start, end):
812 self.start = start
813 self.end = end
814 self._skipping = False
815

## Member Function Documentation

## ◆ __processLine__()

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

Reimplemented from GaudiTesting.BaseTest.FilePreprocessor.

Definition at line 816 of file BaseTest.py.

816 def __processLine__(self, line):
817 if self.start in line:
818 self._skipping = True
819 return None
820 elif self.end in line:
821 self._skipping = False
822 elif self._skipping:
823 return None
824 return line
825
826
GaudiTesting.BaseTest.__processLine__
__processLine__
Definition: BaseTest.py:854

## Member Data Documentation

## ◆ _skipping

GaudiTesting.BaseTest.BlockSkipper._skipping
| private

Definition at line 814 of file BaseTest.py.

## ◆ end

GaudiTesting.BaseTest.BlockSkipper.end

Definition at line 813 of file BaseTest.py.

## ◆ start

GaudiTesting.BaseTest.BlockSkipper.start

Definition at line 812 of file BaseTest.py.

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

- GaudiPolicy/python/GaudiTesting/BaseTest.py