diff options
Diffstat (limited to 'test/test.h')
-rw-r--r-- | test/test.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.h b/test/test.h index bcdc2e3a0..2ab27847e 100644 --- a/test/test.h +++ b/test/test.h @@ -60,7 +60,7 @@ * @brief Structure representing a test case.
*/
struct testcase {
- char *(*gettest)(void); /**< @brief Test case name get function. */
+ const char *name; /**< @brief Test case name. */
void (*setup)(void); /**< @brief Test case preparation function. */
void (*teardown)(void); /**< @brief Test case clean up function. */
void (*execute)(void); /**< @brief Test case execution function. */
@@ -84,8 +84,8 @@ extern "C" { #endif
msg_t TestThread(void *p);
void test_printn(uint32_t n);
- void test_print(char *msgp);
- void test_println(char *msgp);
+ void test_print(const char *msgp);
+ void test_println(const char *msgp);
void test_emit_token(char token);
bool_t _test_fail(unsigned point);
bool_t _test_assert(unsigned point, bool_t condition);
|