SASUnit Examples
Version 1.5.0
|
Check whether a certain message appears in the log. More...
Go to the source code of this file.
Check whether a certain message appears in the log.
If the message does not appear in the log as expected, the check of the assertion will fail. If i_not is set to 1, the check of the assertion will fail in case the message is found in the log.
i_logmsg | message of interest (Perl Regular Expression), non-case-sensitive log scan, special characters have to be quoted with a prefixed single backslash, see http://support.sas.com/onlinedoc/913/getDoc/de/lrdict.hlp/a002288677.htm#a002405779 |
i_desc | description of the assertion to be checked default: "Scan for log messages" |
i_not | negates the assertion, if set to 1 |
Definition in file assertlogmsg.sas.