SASUnit Examples  Version 1.5.0
_assertlibrary.sas File Reference

Main routine of assertLibrary. More...

Go to the source code of this file.

Detailed Description

Main routine of assertLibrary.

Version
$Revision: 358 $
Author
$Author: klandwich $
Date
$Date: 2014-11-30 10:23:01 +0100 (So, 30 Nov 2014) $
See Also
For further information please 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/_assertlibrary.sas $
Parameters
i_actuallibrary with created files
i_expectedlibrary with expected files
i_LibraryCheckstringency of the library check: STRICT (default) -> Contents of libraries have to be identical.
MORETABLES -> Library i_actual is allowed to have more tables as library i_expected.
i_CompareCheckstringency of the table check: STRICT (default) -> Tables have to be identical.
MORECOLUMNS -> Tables in library i_actual are allowed to have more columns as tables in library i_expected.
MOREOBS -> Tables in library i_actual are allowed to have more rows as tables in library i_expected.
MORECOLSNOBS -> Tables in library i_actual are allowed to have more columns and to have more rows as tables in library i_expected.
i_fuzzoptional: maximal deviation of expected and actual values, only for numerical values
i_idoptional: Id-column for matching of observations
i_ExcludeListoptional: Names of files to be exluded from the comparison.
Return values
o_resultReturn code of the assert 0: OK / 1: ERROR

Definition in file _assertlibrary.sas.