(_a)
| 134 | } |
| 135 | |
| 136 | function shouldBeUndefined(_a) |
| 137 | { |
| 138 | var exception; |
| 139 | var _av; |
| 140 | try { |
| 141 | _av = eval(_a); |
| 142 | } catch (e) { |
| 143 | exception = e; |
| 144 | } |
| 145 | |
| 146 | if (exception) |
| 147 | testFailed(_a + " should be undefined. Threw exception " + exception); |
| 148 | else if (typeof _av == "undefined") |
| 149 | testPassed(_a + " is undefined."); |
| 150 | else |
| 151 | testFailed(_a + " should be undefined. Was " + _av); |
| 152 | } |
| 153 | |
| 154 | |
| 155 | function shouldThrow(_a, _e) |
no test coverage detected