Add TetraIF targets to GROUP6 and create compilation tests
- Add CoPrtCnv, PrtCnvLib, PrtCnv to GROUP6_TARGETS in new_docker_build.sh - Clean up redundant find_package(Qt6) in CoPrtCnv/CMakeLists.txt - Add CTest compilation tests for CoPrtCnv, LogView, and PrtCnv headers - Tests verify Qt6/C++17 compatibility of TetraIF module headers Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
5 files changed
+92
-1
No files matched your search
@@ -23,7 +23,6 @@ find_package(Qt6 COMPONENTS Core QUIET)
|
|||||||
if (Qt6_FOUND)
|
if (Qt6_FOUND)
|
||||||
set(_QT_CORE_TARGET Qt6::Core)
|
set(_QT_CORE_TARGET Qt6::Core)
|
||||||
else()
|
else()
|
||||||
find_package(Qt6 COMPONENTS Core QUIET)
|
|
||||||
set(_QT_CORE_TARGET Qt6::Core)
|
set(_QT_CORE_TARGET Qt6::Core)
|
||||||
endif()
|
endif()
|
||||||
NGL_TARGET_LINK_LIBRARIES(CoPrtCnv
|
NGL_TARGET_LINK_LIBRARIES(CoPrtCnv
|
||||||
|
|||||||
@@ -959,6 +959,9 @@ GROUP6_TARGETS=(
|
|||||||
LicenceEditor
|
LicenceEditor
|
||||||
localDomainFinder
|
localDomainFinder
|
||||||
LogViewer
|
LogViewer
|
||||||
|
CoPrtCnv
|
||||||
|
PrtCnvLib
|
||||||
|
PrtCnv
|
||||||
)
|
)
|
||||||
|
|
||||||
# Group 7: LTS Tools A,B,C,E,I directories (Qt6 migration targets)
|
# Group 7: LTS Tools A,B,C,E,I directories (Qt6 migration targets)
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
/**
|
||||||
|
* @file test_tetraif_coprtcnv.cpp
|
||||||
|
* @brief Compilation test for TetraIF/CoPrtCnv headers
|
||||||
|
*
|
||||||
|
* This test verifies that the migrated CoPrtCnv headers compile correctly with Qt6/C++17.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "TetraIF/CoPrtCnv/CoPrtCnvLogHeader.hpp"
|
||||||
|
#include "TetraIF/CoPrtCnv/CoPrtCnvRadioTelegram.hpp"
|
||||||
|
#include "TetraIF/CoPrtCnv/CoPrtCnvHexDumpHelper.hpp"
|
||||||
|
#include "TetraIF/CoPrtCnv/CoPrtCnvInjectionHeader.hpp"
|
||||||
|
#include "TetraIF/CoPrtCnv/CoPrtCnvCentralTelegram.hpp"
|
||||||
|
#include "TetraIF/CoPrtCnv/CoPrtCnvTelegramConverter.hpp"
|
||||||
|
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
TEST(TetraIF_CoPrtCnv, HeadersCompile)
|
||||||
|
{
|
||||||
|
// This test verifies that the CoPrtCnv headers compile without errors
|
||||||
|
EXPECT_TRUE(true);
|
||||||
|
}
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
/**
|
||||||
|
* @file test_tetraif_logview.cpp
|
||||||
|
* @brief Compilation test for TetraIF/LogView headers
|
||||||
|
*
|
||||||
|
* This test verifies that the migrated LogView headers compile correctly with Qt6/C++17.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "TetraIF/LogView/LogViewTableWidget.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewXdrValue.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewTelegramEditModel.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewValueEdit.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewTextEdit.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewDateTimeEdit.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewModels.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewField.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewTelegramDialog.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewXdrStruct.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewTelegramSelectionDialog.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewXdrStandardType.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewWidget.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewBooleanEdit.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewGui.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewXdrParser.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewTabWidget.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewTelegram.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewOptionDialog.hpp"
|
||||||
|
#include "TetraIF/LogView/LogViewXdrType.hpp"
|
||||||
|
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
TEST(TetraIF_LogView, HeadersCompile)
|
||||||
|
{
|
||||||
|
// This test verifies that the LogView headers compile without errors
|
||||||
|
EXPECT_TRUE(true);
|
||||||
|
}
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/**
|
||||||
|
* @file test_tetraif_prtcnv.cpp
|
||||||
|
* @brief Compilation test for TetraIF/PrtCnv headers
|
||||||
|
*
|
||||||
|
* This test verifies that the migrated PrtCnv headers compile correctly with Qt6/C++17.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvStoredTelegram.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvInjectionSocket.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvMember.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvThread.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvBroadcastMgr.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvApplication.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvRadioTrafficThread.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvInjectionThread.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvSocketThread.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvThreadStarter.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/IAppComponent.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvDbThread.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvTelegramLogThread.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvRadioThread.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvCentralThread.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvStoredRadioTelegram.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/PrtCnvStoredCentralTelegram.hpp"
|
||||||
|
#include "TetraIF/PrtCnv/AppComponent.hpp"
|
||||||
|
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
TEST(TetraIF_PrtCnv, HeadersCompile)
|
||||||
|
{
|
||||||
|
// This test verifies that the PrtCnv headers compile without errors
|
||||||
|
EXPECT_TRUE(true);
|
||||||
|
}
|
||||||
Reference in new issue
Block a user