This class stores the error events as they occure during test execution. For more info about usage see Using ErrorEvents. More...
#include <errorevents.h>
Private Attributes | |
ErrorList | m_errorList |
List of errors of type ErrorEvent. | |
Configuration | |
| |
void | SetErrorSync (bool in_syncOnError) |
Activates or deactivates a synchronization event for each received error message which is not filtered out. | |
void | SetImmediateErrorLog (bool in_immediateLog) |
Activates or deactivates the immediate logging of an error as an informational message in the moment of error creation. | |
void | DeleteStoredErrorsAfterReport (bool in_autoDelete) |
void | SetNotificationActionForErrorMsgNum (long in_errorMsgNum, NotificationAction in_notificationAction) |
void | IgnoreErrorContainingTextPattern (std::string const &in_text) |
void | ClearStoredTextPatterns (void) |
Methods to be used indirectly from production code | |
| |
void | CreateError (std::string const &in_rDescription, long in_errMsgNum=0, ErrorId in_extErrorId=ErrorId(), long in_intErrorId=0, Category in_category=Category(), Severity in_severity=Severity()) |
void | AddAsChildError (ErrorId inExtErrorIdParent, ErrorId inExtErrorIdChild) |
Methods to be used from test scripts | |
| |
void | ReportStoredErrors (void) |
Report all stored errros as TestEvents. | |
void | DeleteStoredErrors (void) |
Delete all stored errros. | |
bool | ErrorOk (T_ERROR_ID in_extErrorId) |
Checks if the given id represents an error (i.e. id is different from 0). In case of error the error chain is written to test events and false is returned. |
This class stores the error events as they occure during test execution. For more info about usage see Using ErrorEvents.