Simple XUnit test library / objects in plain C Snapshot
|
00001 /* Copyright (c) Michael Moser (2011) . 3-clause BSD License applies */ 00002 00003 #ifndef __VTEST_CUI_H_ 00004 #define __VTEST_CUI_H_ 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00010 int VTEST_CUI_test_runner(VTEST_TEST_SUITE *suite); 00011 00012 int VTEST_CUI_test_runner_cmdline(VTEST_TEST_SUITE *suite, int argc, char *argv[]); 00013 00014 00015 typedef void (*PFN_DEBUG_FUNCTION) (const char *msg); 00016 00017 00018 void VTEST_CUI_set_debug_output_hook( PFN_DEBUG_FUNCTION debug_output_hook ); 00019 00020 #ifdef __cplusplus 00021 } 00022 #endif 00023 00024 #endif 00025