X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Ftest.h;h=6f700e1239de427bdbf08aa7abab177906303950;hb=39e200e1f43474a96888f97e2271728c9605ccbe;hp=ffa3a8d5e0fc932296375c68a53570c4f79c75a8;hpb=747bcac9a31ecd296ee45ff28090dde5707fc264;p=bertos.git diff --git a/bertos/cfg/test.h b/bertos/cfg/test.h index ffa3a8d5..6f700e12 100644 --- a/bertos/cfg/test.h +++ b/bertos/cfg/test.h @@ -32,7 +32,6 @@ * * \brief Utility for the test suite. * - * \version $Id$ * * \author Daniele Basile * \author Francesco Sacchi @@ -41,20 +40,22 @@ * 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 - * #include - * #include <...> + * #include + * #include + * #include <...> * - * TEST_MAIN(module); + * TEST_MAIN(module); * #endif * \endcode *