Loading...
Searching...
No Matches
mpe_assert_abort.test.sas File Reference

testing the mpe_assert_abort macro More...

Go to the source code of this file.

Detailed Description

The macro decides PASS/FAIL from the child's status row - STATE says whether the child was canceled, ERRMSG holds the reason - so the cases can be built as datasets instead of services: an abort with the expected message, an abort with a different one, a completed call, a status dataset that does not exist, a message past the old 256 character width, quotes, backslashes, and the log extract that mp_abort appends to the message.

Each case asserts on the PASS/FAIL the macro recorded, so a regression in the comparison fails here rather than silently passing an abort assertion in a service test.

SAS Macros

Author
4GL Apps Ltd

@sasjslint {"maxLineLength": 83}

Definition in file mpe_assert_abort.test.sas.