All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
newFormat.stringkey_test.Test Class Reference
Inheritance diagram for newFormat.stringkey_test.Test:
Collaboration diagram for newFormat.stringkey_test.Test:

Public Member Functions

def __init__
 
def validator
 
- Public Member Functions inherited from BaseTest.BaseTest
def __init__
 
def validator
 
def runTest
 
def ValidateOutput
 
def findReferenceBlock
 
def countErrorLines
 
def CheckTTreesSummaries
 
def CheckHistosSummaries
 
def validateWithReference
 

Public Attributes

 name
 
 program
 
- Public Attributes inherited from BaseTest.BaseTest
 program
 
 args
 
 reference
 
 error_reference
 
 options
 
 stderr
 
 timeout
 
 exit_code
 
 environment
 
 target
 
 traceback
 
 unsupported_platforms
 
 signal
 
 status
 
 name
 
 causes
 
 timeOut
 
 result
 
 returnedCode
 
 out
 
 err
 
 proc
 

Detailed Description

Definition at line 5 of file stringkey_test.py.

Constructor & Destructor Documentation

def newFormat.stringkey_test.Test.__init__ (   self)

Definition at line 7 of file stringkey_test.py.

7 
8  def __init__(self):
9  BaseTest.__init__(self)
10  self.name = os.path.basename(__file__)[:-5]
11  self.program="../../scripts/StringKeyEx.py"

Member Function Documentation

def newFormat.stringkey_test.Test.validator (   self,
  stdout,
  stderr,
  result,
  causes,
  reference,
  error_reference 
)

Definition at line 12 of file stringkey_test.py.

12 
13  def validator(self,stdout,stderr, result, causes, reference, error_reference):
14  self.findReferenceBlock("""
15 StringKeys SUCCESS check for StringKey 'key'
16 StringKeys SUCCESS In Map 1: True
17 StringKeys SUCCESS In Map 2: True
18 StringKeys SUCCESS In Map 3: True
19 StringKeys SUCCESS In Map 4: True
20 StringKeys SUCCESS In Map01: True
21 StringKeys SUCCESS In Map02: True
22 StringKeys SUCCESS In Map03: True
23 StringKeys SUCCESS In Map04: True
24 StringKeys SUCCESS check for std::string key 'rrr'
25 StringKeys SUCCESS In Map 1: False
26 StringKeys SUCCESS In Map 2: False
27 StringKeys SUCCESS In Map 3: False
28 StringKeys SUCCESS In Map 4: False
29 StringKeys SUCCESS In Map01: False
30 StringKeys SUCCESS In Map02: False
31 StringKeys SUCCESS In Map03: False
32 StringKeys SUCCESS In Map04: False
33 """, id = "block1")
34 
35  self.findReferenceBlock("""
36 StringKeys SUCCESS check for StringKey 'new Key'
37 StringKeys SUCCESS In Map 1: True
38 StringKeys SUCCESS In Map 2: True
39 StringKeys SUCCESS In Map 3: True
40 StringKeys SUCCESS In Map 4: True
41 StringKeys SUCCESS In Map01: True
42 StringKeys SUCCESS In Map02: True
43 StringKeys SUCCESS In Map03: True
44 StringKeys SUCCESS In Map04: True
45 StringKeys SUCCESS check for std::string key 'rrr'
46 StringKeys SUCCESS In Map 1: True
47 StringKeys SUCCESS In Map 2: True
48 StringKeys SUCCESS In Map 3: True
49 StringKeys SUCCESS In Map 4: True
50 StringKeys SUCCESS In Map01: True
51 StringKeys SUCCESS In Map02: True
52 StringKeys SUCCESS In Map03: True
53 StringKeys SUCCESS In Map04: True
""", id = "block2")
def findReferenceBlock
Definition: BaseTest.py:178

Member Data Documentation

newFormat.stringkey_test.Test.name

Definition at line 9 of file stringkey_test.py.

newFormat.stringkey_test.Test.program

Definition at line 10 of file stringkey_test.py.


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