Attempt to fix a bug related to BeRTOS upgrade in Wizard
[bertos.git] / bertos / cfg / test.h
index ffa3a8d5e0fc932296375c68a53570c4f79c75a8..aacf7e15341b43226b865d74f785ac26aa552c9a 100644 (file)
  * 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)
+ * \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
- *     #include <whatuneed.h>
- *     #include <whatuneed.c>
- *     #include <...>
+ *     #include <whatuneed.h>
+ *     #include <whatuneed.c>
+ *     #include <...>
  *
- *     TEST_MAIN(module);
+ *     TEST_MAIN(module);
  * #endif
  * \endcode
  *