SASUnit Examples
Version 1.2.1
|
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.
Please refer to SASUnit User's Guide
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 value: "Scan for log message" |
i_not | negates the assertion, if set to 1 |
Definition in file assertlogmsg.sas.