| 125 | As part of the changes, comprehensive Unit Test routines were created. They are BSDXUT, BSDXUT1, and BSDXUT2. They assume the existence of patients with DFNs 1 through 5. They handle setting up the Scheduling GUI and Hospital Location files themselves. The Unit Tests are: |
| 126 | * UT07!^BSDXUT for Unit Testing BSDX07. |
| 127 | * UT08!^BSDXUT1 for Unit Testing BSDX08. |
| 128 | * UT26!^BSDXUT1 for Unit Testing BSDX26. |
| 129 | * UT29!^BSDXUT1 for Unit Testing BSDX29. |
| 130 | * UT31!^BSDXUT1 for Unit Testing BSDX31. |
| 131 | * UT25!^BSDXUT2 for Unit Testing BSDX25. |
| 132 | * PIMS!^BSDXUT2 for Unit Testing PIMS APIs in BSDXAPI. |
| 133 | |
| 134 | All Unit Tests will try to be as silent as possible. If there is an error, it will be printed to the screen. |
| 135 | |
| 136 | All tests in each Unit Test routine can be invoked from the top of each routine. To run all unit tests, execute the following. The expected output will be as follows: |
| 137 | {{{ |
| 138 | GTM>D ^BSDXUT,^BSDXUT1,^BSDXUT2 |
| 139 | Error in -10 in Unlinked Section (existing bug) |
| 140 | Waiting for 5 seconds for taskman to finish |
| 141 | Waiting for 5 seconds for taskman to finish |
| 142 | }}} |