ztest: fix header guard
rename __ZTEST_H__ -> ZEPHYR_TESTSUITE_INCLUDE_ZTEST_H_ Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fbcc5ae155
commit
1aca2fbf4f
5 changed files with 15 additions and 15 deletions
|
@ -6,8 +6,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef __TC_UTIL_H__
|
||||
#define __TC_UTIL_H__
|
||||
#ifndef ZEPHYR_TESTSUITE_INCLUDE_TC_UTIL_H_
|
||||
#define ZEPHYR_TESTSUITE_INCLUDE_TC_UTIL_H_
|
||||
|
||||
#include <zephyr.h>
|
||||
|
||||
|
@ -195,4 +195,4 @@ static inline void test_time_ms(void)
|
|||
#define TC_CMD_ITEM(name) {STRINGIFY(name), cmd_##name, "none"}
|
||||
#endif
|
||||
|
||||
#endif /* __TC_UTIL_H__ */
|
||||
#endif /* ZEPHYR_TESTSUITE_INCLUDE_TC_UTIL_H_ */
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
* @}
|
||||
*/
|
||||
|
||||
#ifndef __ZTEST_H__
|
||||
#define __ZTEST_H__
|
||||
#ifndef ZEPHYR_TESTSUITE_INCLUDE_ZTEST_H_
|
||||
#define ZEPHYR_TESTSUITE_INCLUDE_ZTEST_H_
|
||||
|
||||
/**
|
||||
* @defgroup ztest Zephyr testing suite
|
||||
|
@ -72,4 +72,4 @@ void test_main(void);
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ZTEST_H__ */
|
||||
#endif /* ZEPHYR_TESTSUITE_INCLUDE_ZTEST_H_ */
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
* @brief Zephyr testing framework assertion macros
|
||||
*/
|
||||
|
||||
#ifndef __ZTEST_ASSERT_H__
|
||||
#define __ZTEST_ASSERT_H__
|
||||
#ifndef ZEPHYR_TESTSUITE_ZTEST_ASSERT_H_
|
||||
#define ZEPHYR_TESTSUITE_ZTEST_ASSERT_H_
|
||||
|
||||
#include <ztest.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -231,4 +231,4 @@ static inline void z_zassert(bool cond,
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ZTEST_ASSERT_H__ */
|
||||
#endif /* ZEPHYR_TESTSUITE_ZTEST_ASSERT_H_ */
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
* @brief Ztest mocking support
|
||||
*/
|
||||
|
||||
#ifndef __ZTEST_MOCK_H__
|
||||
#define __ZTEST_MOCK_H__
|
||||
#ifndef ZEPHYR_TESTSUITE_ZTEST_MOCK_H_
|
||||
#define ZEPHYR_TESTSUITE_ZTEST_MOCK_H_
|
||||
|
||||
/**
|
||||
* @defgroup ztest_mock Ztest mocking support
|
||||
|
@ -181,4 +181,4 @@ uintptr_t z_ztest_get_return_value(const char *fn);
|
|||
|
||||
#endif /* CONFIG_ZTEST_MOCKING */
|
||||
|
||||
#endif /* __ZTEST_H__ */
|
||||
#endif /* ZEPHYR_TESTSUITE_ZTEST_MOCK_H_ */
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
* @brief Zephyr testing framework _test.
|
||||
*/
|
||||
|
||||
#ifndef __ZTEST_TEST_H__
|
||||
#define __ZTEST_TEST_H__
|
||||
#ifndef ZEPHYR_TESTSUITE_ZTEST_TEST_H_
|
||||
#define ZEPHYR_TESTSUITE_ZTEST_TEST_H_
|
||||
|
||||
#include <app_memory/app_memdomain.h>
|
||||
|
||||
|
@ -213,4 +213,4 @@ extern struct k_mem_partition ztest_mem_partition;
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ZTEST_ASSERT_H__ */
|
||||
#endif /* ZEPHYR_TESTSUITE_ZTEST_TEST_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue