testc_module.c 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. {"testc_faux_timespec_now", "Timespec now and before now functions"},
  21. // sched
  22. {"testc_faux_sched_once", "Schedule once event. Simple and delayed ones."},
  23. {"testc_faux_sched_periodic", "Schedule periodic event."},
  24. {"testc_faux_sched_infinite", "Schedule infinite number of events."},
  25. // log
  26. {"testc_faux_log_facility_id", "Converts syslog facility string to id"},
  27. {"testc_faux_log_facility_str", "Converts syslog facility id to string"},
  28. // vec
  29. {"testc_faux_vec", "Complex test of variable length vector"},
  30. // End of list
  31. {NULL, NULL}
  32. };