diff --git a/include/etl/message_timer_interrupt.h b/include/etl/message_timer_interrupt.h index 3018fb1f..1a188489 100644 --- a/include/etl/message_timer_interrupt.h +++ b/include/etl/message_timer_interrupt.h @@ -606,7 +606,7 @@ namespace etl ETL_STATIC_ASSERT(MAX_TIMERS_ <= 254, "No more than 254 timers are allowed"); - typedef typename imessage_timer_interrupt::callback_type callback_type; + typedef typename imessage_timer_interrupt::callback_type callback_type; //******************************************* /// Constructor. diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d333bbad..8bd62459 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -70,6 +70,7 @@ set(TEST_SOURCE_FILES test_callback_service.cpp test_callback_timer.cpp test_callback_timer_atomic.cpp + test_callback_timer_interrupt.cpp test_callback_timer_locked.cpp test_checksum.cpp test_circular_buffer.cpp @@ -187,7 +188,8 @@ set(TEST_SOURCE_FILES test_message_router_registry.cpp test_message_timer.cpp test_message_timer_atomic.cpp - test_message_timer_locked.cpp + test_message_timer_interrupt.cpp + test_message_timer_locked.cpp test_multimap.cpp test_multiset.cpp test_multi_array.cpp diff --git a/test/sanity-check/c++03/CMakeLists.txt b/test/sanity-check/c++03/CMakeLists.txt index 0d93e000..634f2294 100644 --- a/test/sanity-check/c++03/CMakeLists.txt +++ b/test/sanity-check/c++03/CMakeLists.txt @@ -66,6 +66,8 @@ target_sources(t98 PRIVATE etl_profile.h ../callback_service.h.t.cpp ../callback_timer.h.t.cpp ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp ../char_traits.h.t.cpp ../checksum.h.t.cpp ../circular_buffer.h.t.cpp @@ -187,6 +189,8 @@ target_sources(t98 PRIVATE etl_profile.h ../message_router_registry.h.t.cpp ../message_timer.h.t.cpp ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp ../message_types.h.t.cpp ../multimap.h.t.cpp ../multiset.h.t.cpp diff --git a/test/sanity-check/c++11/CMakeLists.txt b/test/sanity-check/c++11/CMakeLists.txt index 3ffdaa23..ae1e962b 100644 --- a/test/sanity-check/c++11/CMakeLists.txt +++ b/test/sanity-check/c++11/CMakeLists.txt @@ -66,6 +66,8 @@ target_sources(t11 PRIVATE etl_profile.h ../callback_service.h.t.cpp ../callback_timer.h.t.cpp ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp ../char_traits.h.t.cpp ../checksum.h.t.cpp ../circular_buffer.h.t.cpp @@ -187,6 +189,8 @@ target_sources(t11 PRIVATE etl_profile.h ../message_router_registry.h.t.cpp ../message_timer.h.t.cpp ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp ../message_types.h.t.cpp ../multimap.h.t.cpp ../multiset.h.t.cpp diff --git a/test/sanity-check/c++14/CMakeLists.txt b/test/sanity-check/c++14/CMakeLists.txt index 1d22b9c0..8b7f8b06 100644 --- a/test/sanity-check/c++14/CMakeLists.txt +++ b/test/sanity-check/c++14/CMakeLists.txt @@ -66,6 +66,8 @@ target_sources(t14 PRIVATE etl_profile.h ../callback_service.h.t.cpp ../callback_timer.h.t.cpp ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp ../char_traits.h.t.cpp ../checksum.h.t.cpp ../circular_buffer.h.t.cpp @@ -187,6 +189,8 @@ target_sources(t14 PRIVATE etl_profile.h ../message_router_registry.h.t.cpp ../message_timer.h.t.cpp ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp ../message_types.h.t.cpp ../multimap.h.t.cpp ../multiset.h.t.cpp diff --git a/test/sanity-check/c++17/CMakeLists.txt b/test/sanity-check/c++17/CMakeLists.txt index 5bbbb73e..3152c926 100644 --- a/test/sanity-check/c++17/CMakeLists.txt +++ b/test/sanity-check/c++17/CMakeLists.txt @@ -66,6 +66,8 @@ target_sources(t17 PRIVATE etl_profile.h ../callback_service.h.t.cpp ../callback_timer.h.t.cpp ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp ../char_traits.h.t.cpp ../checksum.h.t.cpp ../circular_buffer.h.t.cpp @@ -187,6 +189,8 @@ target_sources(t17 PRIVATE etl_profile.h ../message_router_registry.h.t.cpp ../message_timer.h.t.cpp ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp ../message_types.h.t.cpp ../multimap.h.t.cpp ../multiset.h.t.cpp diff --git a/test/sanity-check/callback_timer_interrupt.h.t.cpp b/test/sanity-check/callback_timer_interrupt.h.t.cpp new file mode 100644 index 00000000..49146c36 --- /dev/null +++ b/test/sanity-check/callback_timer_interrupt.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2022 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/sanity-check/callback_timer_locked.h.t.cpp b/test/sanity-check/callback_timer_locked.h.t.cpp new file mode 100644 index 00000000..f87ba6cd --- /dev/null +++ b/test/sanity-check/callback_timer_locked.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2022 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/sanity-check/message_timer_interrupt.h.t.cpp b/test/sanity-check/message_timer_interrupt.h.t.cpp new file mode 100644 index 00000000..5fea16bb --- /dev/null +++ b/test/sanity-check/message_timer_interrupt.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2022 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/sanity-check/message_timer_locked.h.t.cpp b/test/sanity-check/message_timer_locked.h.t.cpp new file mode 100644 index 00000000..567264a4 --- /dev/null +++ b/test/sanity-check/message_timer_locked.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2022 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/vs2019/etl.vcxproj b/test/vs2019/etl.vcxproj index ea5a389f..90105156 100644 --- a/test/vs2019/etl.vcxproj +++ b/test/vs2019/etl.vcxproj @@ -3441,6 +3441,62 @@ true true + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true true @@ -7337,6 +7393,62 @@ true true + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true true diff --git a/test/vs2019/etl.vcxproj.filters b/test/vs2019/etl.vcxproj.filters index 045c6a66..4919eeee 100644 --- a/test/vs2019/etl.vcxproj.filters +++ b/test/vs2019/etl.vcxproj.filters @@ -3215,6 +3215,18 @@ Tests\Messaging + + Tests\Sanity Checks + + + Tests\Sanity Checks + + + Tests\Sanity Checks + + + Tests\Sanity Checks +