test_suite_error.function 305 B

123456789101112131415161718
  1. BEGIN_HEADER
  2. #include <polarssl/error.h>
  3. END_HEADER
  4. BEGIN_DEPENDENCIES
  5. depends_on:POLARSSL_ERROR_C
  6. END_DEPENDENCIES
  7. BEGIN_CASE
  8. error_strerror:code:result_str
  9. {
  10. char buf[500];
  11. error_strerror( {code}, buf, 500 );
  12. TEST_ASSERT( strcmp( buf, {result_str} ) == 0 );
  13. }
  14. END_CASE