Sat Aug 6 00:40:06 2011

Asterisk developer's documentation


test.c File Reference

Unit Test Framework. More...

#include "asterisk.h"

Go to the source code of this file.

Functions

int ast_test_init ()
 ASTERISK_FILE_VERSION (__FILE__,"$Revision: 286023 $")


Detailed Description

Unit Test Framework.

Author:
David Vossel <dvossel@digium.com>

Russell Bryant <russell@digium.com>

Definition in file test.c.


Function Documentation

int ast_test_init ( void   ) 

Provided by test.c

Definition at line 896 of file test.c.

References ARRAY_LEN, and ast_cli_register_multiple().

Referenced by main().

00897 {
00898 #ifdef TEST_FRAMEWORK
00899    /* Register cli commands */
00900    ast_cli_register_multiple(test_cli, ARRAY_LEN(test_cli));
00901 #endif
00902 
00903    return 0;
00904 }

ASTERISK_FILE_VERSION ( __FILE__  ,
"$Revision: 286023 $"   
)


Generated on Sat Aug 6 00:40:06 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7