summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAutomerge script <automerge@asterisk.org>2013-01-09 21:21:11 +0000
committerAutomerge script <automerge@asterisk.org>2013-01-09 21:21:11 +0000
commit613b972cc595499fc748c28fce7b568c5caa3bd1 (patch)
treeaba281b689e1b6b6493f4e084bb988681d1364c1 /include
parent2ba33b4c3a9a38f0379e29f17e3ac538d524ea9d (diff)
Merged revisions 378783,378789-378790 via svnmerge from
file:///srv/subversion/repos/asterisk/trunk ................ r378783 | dlee | 2013-01-09 14:30:33 -0600 (Wed, 09 Jan 2013) | 14 lines Fix end condition in ast_rtp_lookup_mime_multiple2. The erroneous end condition would never include the AST_RTP_CISCO_DTMF flag in the debug output. (closes issue ASTERISK-20772) Reported by: Xavier Hienne ........ Merged revisions 378776 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 378780 from http://svn.asterisk.org/svn/asterisk/branches/11 ................ r378789 | rmudgett | 2013-01-09 14:56:23 -0600 (Wed, 09 Jan 2013) | 4 lines * Found some more places to use ast_channel_lock_both(). * Minor optimization in ast_rtp_instance_early_bridge(). ................ r378790 | rmudgett | 2013-01-09 15:14:39 -0600 (Wed, 09 Jan 2013) | 4 lines * Whitespace changes. * Made ast_test_init() match its prototype. ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@378801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/test.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/include/asterisk/test.h b/include/asterisk/test.h
index 0d8fa426f..e8584aab5 100644
--- a/include/asterisk/test.h
+++ b/include/asterisk/test.h
@@ -35,7 +35,7 @@
#include "asterisk/strings.h"
#endif
-/*!
+/*!
\page AstUnitTestAPI Asterisk Unit Test API
@@ -57,7 +57,7 @@
\code
AST_TEST_DEFINE(sample_test_cb) \\The name of the callback function
- { \\The the function's body
+ { \\The the function's body
switch (cmd) {
case TEST_INIT:
info->name = "sample_test";
@@ -86,7 +86,7 @@
Details of the test execution, especially failure details, should be provided
by using the ast_test_status_update() function.
-\subsection RegisterTest Register a Test
+\subsection RegisterTest Register a Test
Register the test using the AST_TEST_REGISTER macro.
@@ -148,9 +148,8 @@
* \returns 0 on success
* \returns any other value on failure
*/
-int __ast_test_suite_event_notify(const char *file, const char *func, int line,
- const char *state, const char *fmt, ...)
- __attribute__((format(printf, 5, 6)));
+int __ast_test_suite_event_notify(const char *file, const char *func, int line, const char *state, const char *fmt, ...)
+ __attribute__((format(printf, 5, 6)));
/*!
* \brief Notifies the test suite of a failed assert on an expression
@@ -165,8 +164,7 @@ int __ast_test_suite_event_notify(const char *file, const char *func, int line,
* \returns 0 on success
* \returns any other value on failure
*/
-int __ast_test_suite_assert_notify(const char *file, const char *func, int line,
- const char *exp);
+int __ast_test_suite_assert_notify(const char *file, const char *func, int line, const char *exp);
/*!
* \ref __ast_test_suite_event_notify()
@@ -234,7 +232,7 @@ struct ast_test_info {
* \retval AST_TEST_FAIL for failure
*/
typedef enum ast_test_result_state (ast_test_cb_t)(struct ast_test_info *info,
- enum ast_test_command cmd, struct ast_test *test);
+ enum ast_test_command cmd, struct ast_test *test);
/*!
* \brief unregisters a test with the test framework
@@ -275,9 +273,8 @@ void ast_test_debug(struct ast_test *test, const char *fmt, ...) __attribute__((
* \retval 0 success
* \retval -1 failure
*/
-int __ast_test_status_update(const char *file, const char *func, int line,
- struct ast_test *test, const char *fmt, ...)
- __attribute__((format(printf, 5, 6)));
+int __ast_test_status_update(const char *file, const char *func, int line, struct ast_test *test, const char *fmt, ...)
+ __attribute__((format(printf, 5, 6)));
/*!
* \ref __ast_test_status_update()