mirror of https://github.com/ARMmbed/mbed-os.git
Refactor all include guards to `UTEST_*`.
parent
13987f8101
commit
dc8c336652
|
@ -16,8 +16,8 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MBED_TEST_ASYNC_CASES_H
|
#ifndef UTEST_CASES_H
|
||||||
#define MBED_TEST_ASYNC_CASES_H
|
#define UTEST_CASES_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -126,4 +126,4 @@ namespace v0 {
|
||||||
} // namespace v0
|
} // namespace v0
|
||||||
} // namespace utest
|
} // namespace utest
|
||||||
|
|
||||||
#endif // MBED_TEST_ASYNC_CASES_H
|
#endif // UTEST_CASES_H
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MBED_TEST_ASYNC_DEFAULT_HANDLER_H
|
#ifndef UTEST_DEFAULT_HANDLER_H
|
||||||
#define MBED_TEST_ASYNC_DEFAULT_HANDLER_H
|
#define UTEST_DEFAULT_HANDLER_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -170,4 +170,4 @@ namespace v0 {
|
||||||
} // namespace v0
|
} // namespace v0
|
||||||
} // namespace utest
|
} // namespace utest
|
||||||
|
|
||||||
#endif // MBED_TEST_ASYNC_DEFAULT_HANDLER_H
|
#endif // UTEST_DEFAULT_HANDLER_H
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MBED_TEST_ASYNC_HARNESS_H
|
#ifndef UTEST_HARNESS_H
|
||||||
#define MBED_TEST_ASYNC_HARNESS_H
|
#define UTEST_HARNESS_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -70,4 +70,4 @@ namespace v0 {
|
||||||
} // namespace v0
|
} // namespace v0
|
||||||
} // namespace utest
|
} // namespace utest
|
||||||
|
|
||||||
#endif // MBED_TEST_ASYNC_HARNESS_H
|
#endif // UTEST_HARNESS_H
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MBED_TEST_ASYNC_SPECIFICATION_H
|
#ifndef UTEST_SPECIFICATION_H
|
||||||
#define MBED_TEST_ASYNC_SPECIFICATION_H
|
#define UTEST_SPECIFICATION_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -94,4 +94,4 @@ namespace v0 {
|
||||||
} // namespace v0
|
} // namespace v0
|
||||||
} // namespace utest
|
} // namespace utest
|
||||||
|
|
||||||
#endif // MBED_TEST_ASYNC_SPECIFICATION_H
|
#endif // UTEST_SPECIFICATION_H
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MBED_TEST_ASYNC_TYPES_H
|
#ifndef UTEST_TYPES_H
|
||||||
#define MBED_TEST_ASYNC_TYPES_H
|
#define UTEST_TYPES_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -223,4 +223,4 @@ namespace v0 {
|
||||||
} // namespace v0
|
} // namespace v0
|
||||||
} // namespace utest
|
} // namespace utest
|
||||||
|
|
||||||
#endif // MBED_TEST_ASYNC_TYPES_H
|
#endif // UTEST_TYPES_H
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MBED_TEST_ASYNC_UNITY_ASSERT_FAILURE_H
|
#ifndef UTEST_UNITY_ASSERT_FAILURE_H
|
||||||
#define MBED_TEST_ASYNC_UNITY_ASSERT_FAILURE_H
|
#define UTEST_UNITY_ASSERT_FAILURE_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/// this function is called from the unity module when an assertion failed.
|
/// this function is called from the unity module when an assertion failed.
|
||||||
void utest_unity_assert_failure();
|
void utest_unity_assert_failure();
|
||||||
|
|
||||||
#endif // MBED_ASYNC_TEST_UNITY_ASSERT_FAILURE_H
|
#endif // UTEST_UNITY_ASSERT_FAILURE_H
|
||||||
|
|
|
@ -16,12 +16,13 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MBED_TEST_ASYNC_H
|
#ifndef UTEST_H
|
||||||
#define MBED_TEST_ASYNC_H
|
#define UTEST_H
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "case.h"
|
#include "case.h"
|
||||||
#include "default_handlers.h"
|
#include "default_handlers.h"
|
||||||
#include "harness.h"
|
#include "harness.h"
|
||||||
|
|
||||||
#endif // MBED_TEST_ASYNC_H
|
|
||||||
|
#endif // UTEST_H
|
||||||
|
|
Loading…
Reference in New Issue