SASUnit Examples  Version 1.2
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.

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.

Version
$Revision: 129 $
Author
$Author: klandwich $
Date
$Date: 2013-01-29 10:46:03 +0100 (Di, 29 Jan 2013) $
See Also
$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 value: "Scan for log message"
i_notnegates the assertion, if set to 1

Definition in file assertlogmsg.sas.