Merge pull request #11863 from pokgak/rename-setup-teardown

tests/unittests: rename set_up/tear_down function
This commit is contained in:
Peter Kietzmann 2019-07-19 12:57:54 +02:00 committed by GitHub
commit 43a5eef0d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>;