projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: add doxygen documentation
[bertos.git]
/
bertos
/
cfg
/
test.h
diff --git
a/bertos/cfg/test.h
b/bertos/cfg/test.h
index ffa3a8d5e0fc932296375c68a53570c4f79c75a8..6f700e1239de427bdbf08aa7abab177906303950 100644
(file)
--- a/
bertos/cfg/test.h
+++ b/
bertos/cfg/test.h
@@
-32,7
+32,6
@@
*
* \brief Utility for the test suite.
*
*
* \brief Utility for the test suite.
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
* \author Francesco Sacchi <batt@develer.com>
*
* \author Daniele Basile <asterix@develer.com>
* \author Francesco Sacchi <batt@develer.com>
@@
-41,20
+40,22
@@
* platforms, these macros come in handy.
* Your module_test should supply three basic functions:
*
* platforms, these macros come in handy.
* Your module_test should supply three basic functions:
*
+ * \code
* int module_testSetup(void)
* int module_testRun(void)
* int module_testTearDown(void)
* int module_testSetup(void)
* int module_testRun(void)
* int module_testTearDown(void)
+ * \endcode
*
* All of these should return 0 if ok or a value != 0 on errors.
*
* Then, at the end of your module_test you can write:
* \code
* #if UNIT_TEST
*
* All of these should return 0 if ok or a value != 0 on errors.
*
* Then, at the end of your module_test you can write:
* \code
* #if UNIT_TEST
- * #include <whatuneed.h>
- * #include <whatuneed.c>
- * #include <...>
+ * #include <whatuneed.h>
+ * #include <whatuneed.c>
+ * #include <...>
*
*
- * TEST_MAIN(module);
+ * TEST_MAIN(module);
* #endif
* \endcode
*
* #endif
* \endcode
*