|
TestCenter Reference
|
Allows collecting log messages and logging them later. More...
Public Member Functions | |
| __init__ (self, testHelper=None) | |
| startLogCollect (self) | |
| stopLogCollect (self) | |
| logMessages (self, logHandler) | |
Public Member Functions inherited from TestCenterAdvanced.TestCase.LogCollectorBase | |
| logHandler (self) | |
| collect (self) | |
| clearState (self) | |
Public Attributes | |
| messageCache | |
| log | |
Public Attributes inherited from TestCenterAdvanced.TestCase.LogCollectorBase | |
| hasWarnings | |
| hasErrors | |
Additional Inherited Members | |
Protected Attributes inherited from TestCenterAdvanced.TestCase.LogCollectorBase | |
| _testHelper | |
Allows collecting log messages and logging them later.
Keeps the logging state during log collection.
Definition at line 103 of file TestCase.py.
| TestCenterAdvanced.TestCase.LogCollector.__init__ | ( | self, | |
testHelper = None |
|||
| ) |
Reimplemented from TestCenterAdvanced.TestCase.LogCollectorBase.
Definition at line 107 of file TestCase.py.
References TestCenterAdvanced.TestCase.LogCollector.__init__().
Referenced by TestCenterAdvanced.TestCase.LogCollector.__init__().
| TestCenterAdvanced.TestCase.LogCollector.logMessages | ( | self, | |
| logHandler | |||
| ) |
| TestCenterAdvanced.TestCase.LogCollector.startLogCollect | ( | self | ) |
Reimplemented from TestCenterAdvanced.TestCase.LogCollectorBase.
Definition at line 114 of file TestCase.py.
References TestCenterAdvanced.TestCase.RunTestFunctionData.logHandler, TestCenterAdvanced.TestCase.LogCollectorBase.logHandler(), TestCenterAdvanced.TestCase.LogCollector.messageCache, and TestCenterAdvanced.TestCase.LogCollector.startLogCollect().
Referenced by TestCenterAdvanced.TestCase.LogCollectorBase.collect(), and TestCenterAdvanced.TestCase.LogCollector.startLogCollect().
| TestCenterAdvanced.TestCase.LogCollector.stopLogCollect | ( | self | ) |
Reimplemented from TestCenterAdvanced.TestCase.LogCollectorBase.
Definition at line 121 of file TestCase.py.
References TestCenterAdvanced.TestCase.LogCollector.log, TestCenterAdvanced.TestCase.RunTestFunctionData.logHandler, TestCenterAdvanced.TestCase.LogCollectorBase.logHandler(), and TestCenterAdvanced.TestCase.LogCollector.stopLogCollect().
Referenced by TestCenterAdvanced.TestCase.LogCollectorBase.collect(), and TestCenterAdvanced.TestCase.LogCollector.stopLogCollect().
| TestCenterAdvanced.TestCase.LogCollector.log |
Definition at line 112 of file TestCase.py.
Referenced by TestCenterAdvanced.TestCase.LogCollector.logMessages(), and TestCenterAdvanced.TestCase.LogCollector.stopLogCollect().
| TestCenterAdvanced.TestCase.LogCollector.messageCache |
Definition at line 111 of file TestCase.py.
Referenced by TestCenterAdvanced.TestCase.LogCollector.logMessages(), and TestCenterAdvanced.TestCase.LogCollector.startLogCollect().