Unit tests: Move platform target_h stubs
Stubs previously in UNITTESTS/target_h/ have the same names as
regular Mbed OS headers, intending to override the latter directly.
We move platform target_h stubs into
platform/tests/UNITTESTS/doubles/platform/.

Note: nvic_wrapper.h is normally implemented and used by Mbed targets
as needed. But as unit tests do not have a real target, we treat it
as a stub for the platform.
ls
1 parent 7e3565b commit 4011e2ef85106affad3f325009d8c905003c2deb
@Lingkai Dong Lingkai Dong authored on 8 Jul 2021
Showing 37 changed files
View
UNITTESTS/target_h/nvic_wrapper.h 100644 → 0
View
UNITTESTS/target_h/platform/CThunk.h 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_algorithm 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_atomic 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_cstddef 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_functional 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_iterator 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_memory 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_mutex 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_new 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_tuple 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_type_traits 100644 → 0
View
UNITTESTS/target_h/platform/cxxsupport/mstd_utility 100644 → 0
View
UNITTESTS/target_h/platform/mbed_assert.h 100644 → 0
View
UNITTESTS/target_h/platform/mbed_power_mgmt.h 100644 → 0
View
UNITTESTS/target_h/platform/mbed_retarget.h 100644 → 0
View
UNITTESTS/target_h/platform/mbed_wait_api.h 100644 → 0
View
UNITTESTS/target_h/platform/platform.h 100644 → 0
View
platform/tests/UNITTESTS/doubles/CMakeLists.txt
View
platform/tests/UNITTESTS/doubles/platform/CThunk.h 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_algorithm 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_atomic 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_cstddef 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_functional 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_iterator 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_memory 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_mutex 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_new 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_tuple 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_type_traits 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_utility 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/mbed_assert.h 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/mbed_power_mgmt.h 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/mbed_retarget.h 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/mbed_wait_api.h 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/nvic_wrapper.h 0 → 100644
View
platform/tests/UNITTESTS/doubles/platform/platform.h 0 → 100644