summaryrefslogtreecommitdiff
path: root/main/test.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-01-22 04:57:03 +0000
committerRussell Bryant <russell@russellbryant.com>2010-01-22 04:57:03 +0000
commitd6ad0f30b44687c1a90164355873787dbb4eae9f (patch)
tree7ea22a33dd6321969f4acab4871ccd406c2e55a1 /main/test.c
parent2a6d62e94df8da52ee9ed9546355a83ef14d3118 (diff)
Update the doxygenification of some comments.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@242186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/test.c')
-rw-r--r--main/test.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/main/test.c b/main/test.c
index 6bc9837e7..e0ccbe33b 100644
--- a/main/test.c
+++ b/main/test.c
@@ -40,7 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$");
#include "asterisk/paths.h"
#include "asterisk/time.h"
-/*! This array corrisponds to the values defined in the ast_test_state enum */
+/*! This array corresponds to the values defined in the ast_test_state enum */
static const char * const test_result2str[] = {
[AST_TEST_NOT_RUN] = "NOT RUN",
[AST_TEST_PASS] = "PASS",
@@ -49,23 +49,23 @@ static const char * const test_result2str[] = {
/*! holds all the information pertaining to a single defined test */
struct ast_test {
- struct ast_test_info info; /*! holds test callback information */
- struct ast_test_args args; /*! function callback arguments */
- enum ast_test_result_state state; /*! current test state */
- unsigned int time; /*! time in ms test took */
- ast_test_cb_t *cb; /*! test callback function */
+ struct ast_test_info info; /*!< holds test callback information */
+ struct ast_test_args args; /*!< function callback arguments */
+ enum ast_test_result_state state; /*!< current test state */
+ unsigned int time; /*!< time in ms test took */
+ ast_test_cb_t *cb; /*!< test callback function */
AST_LIST_ENTRY(ast_test) entry;
};
/*! global structure containing both total and last test execution results */
static struct ast_test_execute_results {
- unsigned int total_tests; /* total number of tests, reguardless if they have been executed or not */
- unsigned int total_passed; /* total number of executed tests passed */
- unsigned int total_failed; /* total number of executed tests failed */
- unsigned int total_time; /* total time of all executed tests */
- unsigned int last_passed; /* number of passed tests during last execution */
- unsigned int last_failed; /* number of failed tests during last execution */
- unsigned int last_time; /* total time of the last test execution */
+ unsigned int total_tests; /*!< total number of tests, regardless if they have been executed or not */
+ unsigned int total_passed; /*!< total number of executed tests passed */
+ unsigned int total_failed; /*!< total number of executed tests failed */
+ unsigned int total_time; /*!< total time of all executed tests */
+ unsigned int last_passed; /*!< number of passed tests during last execution */
+ unsigned int last_failed; /*!< number of failed tests during last execution */
+ unsigned int last_time; /*!< total time of the last test execution */
} last_results;
enum test_mode {