assertlogmsg.sas File Reference


Detailed Description

Check whether a certain message appears in the log.

Please refer to the description of the test tools in _sasunit_doc.sas

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: 9 $
Author:
$Author: amangold $
Date:
$Date: 2010-08-02 22:33:56 +0200 (Mo, 02 Aug 2010) $
See also:
$HeadURL: https://sasunit.svn.sourceforge.net/svnroot/sasunit/trunk/saspgm/sasunit/assertlogmsg.sas $
Parameters:
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.

Go to the source code of this file.


Generated on Sun Oct 10 14:10:15 2010 for SASUnit Examples by  doxygen 1.5.3