SQL-Unit
1.6
|
The AssertThrew stored procedure. More...
Functions | |
int | AssertThrew (TextMessage @error, ProcedureName @procedure) |
Asserts that the test raised an error that contained the specified message. |
The AssertThrew stored procedure.
int AssertThrew | ( | TextMessage @ | error, |
ProcedureName @ | procedure | ||
) |
Asserts that the test raised an error that contained the specified message.
The error is compared with the LIKE operator and so can contain wildcard characters.
error | The expected error message. |
procedure | The helper procedure to run. |