1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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:
Aiman Ismail 2019-07-19 12:04:35 +02:00
parent 36f533e7ae
commit 8f75ff6b9a

View File

@ -253,9 +253,7 @@ Test *tests_<module>_<header>_tests(void)
/* ... */
};
EMB_UNIT_TESTCALLER(<module>_<header>_tests,
tests_<module>_<header>_set_up,
tests_<module>_<header>_tear_down, fixtures);
EMB_UNIT_TESTCALLER(<module>_<header>_tests, set_up, tear_down, fixtures);
/* set up and tear down function can be NULL if omitted */
return (Test *)&<module>_<header>;