![]() |
The Gaudi Framework
v28r2p1 (f1a77ff4)
|
Output Validation Classes. More...
Public Member Functions | |
def | __init__ (self, ref, cause, result_key) |
def | __call__ (self, out, result) |
Public Attributes | |
reference | |
cause | |
result_key | |
Private Member Functions | |
def | __CompareText (self, s1, s2) |
Output Validation Classes.
Basic implementation of an option validator for Gaudi tests. This implementation is based on the standard (LCG) validation functions used in QMTest.
Definition at line 351 of file GaudiTest.py.
def GaudiTest.BasicOutputValidator.__init__ | ( | self, | |
ref, | |||
cause, | |||
result_key | |||
) |
Definition at line 356 of file GaudiTest.py.
def GaudiTest.BasicOutputValidator.__call__ | ( | self, | |
out, | |||
result | |||
) |
Validate the output of the program. 'stdout' -- A string containing the data written to the standard output stream. 'stderr' -- A string containing the data written to the standard error stream. 'result' -- A 'Result' object. It may be used to annotate the outcome according to the content of stderr. returns -- A list of strings giving causes of failure.
Definition at line 361 of file GaudiTest.py.
|
private |
Compare 's1' and 's2', ignoring line endings. 's1' -- A string. 's2' -- A string. returns -- True if 's1' and 's2' are the same, ignoring differences in line endings.
Definition at line 383 of file GaudiTest.py.
GaudiTest.BasicOutputValidator.cause |
Definition at line 358 of file GaudiTest.py.
GaudiTest.BasicOutputValidator.reference |
Definition at line 357 of file GaudiTest.py.
GaudiTest.BasicOutputValidator.result_key |
Definition at line 359 of file GaudiTest.py.