[asterisk-commits] russell: trunk r242186 - /trunk/main/test.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 21 22:57:06 CST 2010


Author: russell
Date: Thu Jan 21 22:57:03 2010
New Revision: 242186

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242186
Log:
Update the doxygenification of some comments.

Modified:
    trunk/main/test.c

Modified: trunk/main/test.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/test.c?view=diff&rev=242186&r1=242185&r2=242186
==============================================================================
--- trunk/main/test.c (original)
+++ trunk/main/test.c Thu Jan 21 22:57:03 2010
@@ -40,7 +40,7 @@
 #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 @@
 
 /*! 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 {




More information about the asterisk-commits mailing list