Unit Test Framework. More...

Go to the source code of this file.
Functions | |
| int | ast_test_init () |
| ASTERISK_FILE_VERSION (__FILE__,"$Revision: 401661 $") | |
Unit Test Framework.
Definition in file test.c.
| int ast_test_init | ( | void | ) |
Provided by test.c
Definition at line 941 of file test.c.
References ARRAY_LEN, ast_cli_register_multiple(), and ast_register_atexit().
Referenced by main().
{
#ifdef TEST_FRAMEWORK
/* Register cli commands */
ast_cli_register_multiple(test_cli, ARRAY_LEN(test_cli));
ast_register_atexit(test_shutdown);
#endif
return 0;
}
| ASTERISK_FILE_VERSION | ( | __FILE__ | , |
| "$Revision: 401661 $" | |||
| ) |