Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mfv_getfolderpath.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mfv_getfolderpath macro function
4
5 <h4> SAS Macros </h4>
6 @li mf_uid.sas
7 @li mfv_getfolderpath.sas
8 @li mfv_getpathuri.sas
9 @li mp_assert.sas
10 @li mv_createfolder.sas
11
12**/
13
14options mprint sgen;
15
16%let folder=%mf_uid();
17/* create a folder */
18%mv_createfolder(path=&mcTestAppLoc/&folder)
19%mp_assert(
20 iftrue=(&syscc=0),
21 desc=no errs on folder creation
22)
23
24%let uri=%mfv_getpathuri(&mcTestAppLoc/&folder);
25%put %mfv_getfolderpath(&uri);
26
27%mp_assert(
28 iftrue=("%mfv_getfolderpath(&uri)"="&mcTestAppLoc/&folder"),
29 desc=Check if correct folder was returned
30)
31