SASUnit Examples  Version 1.5.0
assertlogmsg.sas File Reference

Check whether a certain message appears in the log. More...

Go to the source code of this file.

Detailed Description

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.

Version
$Revision: 316 $
Author
$Author: akirchmann $
Date
$Date: 2014-03-02 10:20:58 +0100 (So, 02 Mrz 2014) $
See Also
For further details refer to SASUnit User's Guide. Here you can find the SASUnit documentation, release notes and license information.
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/assertlogmsg.sas $
Parameters
i_logmsgmessage 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_descdescription of the assertion to be checked
default: "Scan for log messages"
i_notnegates the assertion, if set to 1

Definition in file assertlogmsg.sas.