TetraIF migration and Unittest Implementation for it

Entire-Checkpoint: 14d1fef0cf36
This commit is contained in:
berrux-dev committed 2026-09-12 13:54:34 +02:00
1 parent a86f9b5bac
commit ba212f9dce
78 files changed
+1611 -640

No files matched your search

@@ -0,0 +1,26 @@
# Unit tests for PrtCnv.
# PrtCnvLib is built with hidden visibility and PrtCnvMember carries no export
# macro, so the classes under test are compiled into the test executable rather
# than widening the library's public ABI for the tests' sake.
# GoogleTest is resolved once in the top-level CMakeLists.txt.
add_executable(PrtCnvTests
${CMAKE_CURRENT_SOURCE_DIR}/../../unittest_main.cpp
PrtCnvMemberTest.cpp
PrtCnvStoredTelegramTest.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../PrtCnvMember.cpp
)
target_include_directories(PrtCnvTests PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/..
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
target_link_libraries(PrtCnvTests PRIVATE
CoPrtCnv
Qt6::Core
GTest::gtest
)
include(GoogleTest)
gtest_discover_tests(PrtCnvTests)