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. |
---|
|
UNITTESTS/target_h/nvic_wrapper.h 100644 → 0 |
---|
UNITTESTS/target_h/platform/CThunk.h 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_algorithm 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_atomic 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_cstddef 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_functional 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_iterator 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_memory 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_mutex 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_new 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_tuple 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_type_traits 100644 → 0 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_utility 100644 → 0 |
---|
UNITTESTS/target_h/platform/mbed_assert.h 100644 → 0 |
---|
UNITTESTS/target_h/platform/mbed_power_mgmt.h 100644 → 0 |
---|
UNITTESTS/target_h/platform/mbed_retarget.h 100644 → 0 |
---|
UNITTESTS/target_h/platform/mbed_wait_api.h 100644 → 0 |
---|
UNITTESTS/target_h/platform/platform.h 100644 → 0 |
---|
platform/tests/UNITTESTS/doubles/CMakeLists.txt |
---|
platform/tests/UNITTESTS/doubles/platform/CThunk.h 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_algorithm 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_atomic 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_cstddef 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_functional 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_iterator 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_memory 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_mutex 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_new 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_tuple 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_type_traits 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/cxxsupport/mstd_utility 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/mbed_assert.h 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/mbed_power_mgmt.h 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/mbed_retarget.h 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/mbed_wait_api.h 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/nvic_wrapper.h 0 → 100644 |
---|
platform/tests/UNITTESTS/doubles/platform/platform.h 0 → 100644 |
---|