mirror of
https://github.com/sasjs/core.git
synced 2026-01-08 18:00:06 +00:00
feat: creating new mx_ suite of macros!
also adding new mx_getcode macro
This commit is contained in:
28
tests/base/mp_createwebservice.test.sas
Normal file
28
tests/base/mp_createwebservice.test.sas
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
@file
|
||||
@brief Testing ms_createwebservice.sas macro
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@li mf_getuniquefileref.sas
|
||||
@li mp_assertscope.sas
|
||||
@li mp_createwebservice.sas
|
||||
|
||||
**/
|
||||
|
||||
%let path=&mcTestAppLoc/mp_createwebservice;
|
||||
%let name=myservice;
|
||||
%let fref=%mf_getuniquefileref();
|
||||
|
||||
data _null_;
|
||||
file &fref lrecl=3000;
|
||||
put '%put hello world;';
|
||||
run;
|
||||
|
||||
%mp_assertscope(SNAPSHOT)
|
||||
%mp_createwebservice(path=&path,name=&name,code=&fref,mdebug=&sasjs_mdebug)
|
||||
%mp_assertscope(COMPARE)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user