| Paul Bakker | 9d78140 | 2011-05-09 16:17:09 +0000 | [diff] [blame^] | 1 | BEGIN_HEADER |
| 2 | #include <polarssl/error.h> | ||||
| 3 | END_HEADER | ||||
| 4 | |||||
| 5 | BEGIN_CASE | ||||
| 6 | error_strerror:code:result_str | ||||
| 7 | { | ||||
| 8 | char buf[500]; | ||||
| 9 | |||||
| 10 | error_strerror( {code}, buf, 500 ); | ||||
| 11 | |||||
| 12 | TEST_ASSERT( strcmp( buf, {result_str} ) == 0 ); | ||||
| 13 | } | ||||
| 14 | END_CASE | ||||