tests/unittests: rename set_up/tear_down caller
Renames the `tests_<module>_<header>_set_up` and in EMB_UNIT_TESTCALLER `tests_<module>_<header>_tear_down` to `set_up` and `tear_down` respectively.
This commit is contained in:
parent
36f533e7ae
commit
8f75ff6b9a
@ -253,9 +253,7 @@ Test *tests_<module>_<header>_tests(void)
|
|||||||
/* ... */
|
/* ... */
|
||||||
};
|
};
|
||||||
|
|
||||||
EMB_UNIT_TESTCALLER(<module>_<header>_tests,
|
EMB_UNIT_TESTCALLER(<module>_<header>_tests, set_up, tear_down, fixtures);
|
||||||
tests_<module>_<header>_set_up,
|
|
||||||
tests_<module>_<header>_tear_down, fixtures);
|
|
||||||
/* set up and tear down function can be NULL if omitted */
|
/* set up and tear down function can be NULL if omitted */
|
||||||
|
|
||||||
return (Test *)&<module>_<header>;
|
return (Test *)&<module>_<header>;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user