summaryrefslogtreecommitdiff
path: root/include/asterisk/_private.h
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2009-12-22 16:09:11 +0000
committerDavid Vossel <dvossel@digium.com>2009-12-22 16:09:11 +0000
commit73cb2d507bc5f75636c24b54b45dc577e1a0e6a1 (patch)
tree738bc8fbe6fe70bae3bc7e71e0f51bcb02e441a9 /include/asterisk/_private.h
parentf95ee393f22312c947655bba577f3d19b404f10f (diff)
Unit Test Framework API
The Unit Test Framework is a new API that manages registration and execution of unit tests in Asterisk with the purpose of verifying the operation of C functions. The Framework consists of a single test manager accompanied by a list of registered test functions defined within the code. A test is defined, registered, and unregistered from the framework using a set of macros which allow the test code to only be compiled within asterisk when the TEST_FRAMEWORK flag is enabled in menuselect. This allows the test code to exist in the same file as the C functions it intends to verify. Registered tests may be viewed and executed via a set of new CLI commands. CLI commands are also present for generating and exporting test results into xml and txt formats. For more information and use cases please refer to the documentation provided at the beginning of the test.h file. Review: https://reviewboard.asterisk.org/r/447/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/_private.h')
-rw-r--r--include/asterisk/_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/_private.h b/include/asterisk/_private.h
index b6b26597e..cb1b61810 100644
--- a/include/asterisk/_private.h
+++ b/include/asterisk/_private.h
@@ -44,7 +44,8 @@ int ast_indications_reload(void);/*!< Provided by indications.c */
void ast_stun_init(void); /*!< Provided by stun.c */
int ast_cel_engine_init(void); /*!< Provided by cel.c */
int ast_cel_engine_reload(void); /*!< Provided by cel.c */
-int ast_ssl_init(void); /*!< Porvided by ssl.c */
+int ast_ssl_init(void); /*!< Provided by ssl.c */
+int ast_test_init(void); /*!< Provided by test.c */
/*!
* \brief Reload asterisk modules.