testc_module.c 1012 B

12345678910111213141516171819202122232425262728293031323334
  1. #include "faux/ini.h"
  2. const unsigned char testc_version_major = 1;
  3. const unsigned char testc_version_minor = 0;
  4. const char *testc_module[][2] = {
  5. // Demo
  6. // {"testc_faux_ini_bad", "INI bad"}, // demo
  7. // {"testc_faux_ini_signal", "Interrupted by signal"}, // demo
  8. // {"testc_faux_ini_good", "INI subsystem good"}, // demo
  9. // str
  10. {"testc_faux_str_nextword", "Find next word (quotation)"},
  11. // ini
  12. {"testc_faux_ini_parse_file", "Complex test of INI file parsing"},
  13. // argv
  14. {"testc_faux_argv_parse", "Parse string to arguments"},
  15. {"testc_faux_argv_is_continuable", "Is line continuable"},
  16. // time
  17. {"testc_faux_nsec_timespec_conversion", "Converts nsec from/to struct timespec"},
  18. {"testc_faux_timespec_diff", "Diff beetween timespec structures"},
  19. {"testc_faux_timespec_sum", "Sum of timespec structures"},
  20. // log
  21. {"testc_faux_log_facility_id", "Converts syslog facility string to id"},
  22. {"testc_faux_log_facility_str", "Converts syslog facility id to string"},
  23. // End of list
  24. {NULL, NULL}
  25. };