|
Simple XUnit test library / objects in plain C Snapshot
|
Go to the source code of this file.
Typedefs | |
| typedef void(* | PFN_DEBUG_FUNCTION )(const char *msg) |
Functions | |
| int | VTEST_CUI_test_runner (VTEST_TEST_SUITE *suite) |
| int | VTEST_CUI_test_runner_cmdline (VTEST_TEST_SUITE *suite, int argc, char *argv[]) |
| void | VTEST_CUI_set_debug_output_hook (PFN_DEBUG_FUNCTION debug_output_hook) |
| typedef void(* PFN_DEBUG_FUNCTION)(const char *msg) |
Definition at line 15 of file vtestcui.h.
| void VTEST_CUI_set_debug_output_hook | ( | PFN_DEBUG_FUNCTION | debug_output_hook | ) |
Definition at line 33 of file cuitestrunner.c.
{
debug_output_hook = debug_output_hook_;
}
| int VTEST_CUI_test_runner | ( | VTEST_TEST_SUITE * | suite | ) |
Definition at line 142 of file cuitestrunner.c.
{
VTEST_RUNNER_IMPL impl;
impl.suite_start = CUI_report_suite_start;
impl.test_start = CUI_report_test_start;
impl.results = CUI_report_results;
impl.wrapup = CUI_report_wrapup;
return VTEST_test_runner( suite, &impl );
}
| int VTEST_CUI_test_runner_cmdline | ( | VTEST_TEST_SUITE * | suite, |
| int | argc, | ||
| char * | argv[] | ||
| ) |
Definition at line 155 of file cuitestrunner.c.
{
VTEST_RUNNER_IMPL impl;
impl.suite_start = CUI_report_suite_start;
impl.test_start = CUI_report_test_start;
impl.results = CUI_report_results;
impl.wrapup = CUI_report_wrapup;
return VTEST_test_runner_cmdline( suite, &impl, argc, argv);
}
1.7.4