Added test case and setting Test configuration

This commit is contained in:
berrux-dev committed 2026-09-11 13:41:20 +02:00
1 parent f815271486
commit a86f9b5bac
48 files changed
+423 -168

No files matched your search

@@ -34,6 +34,8 @@ NGL_TARGET_LINK_LIBRARIES(LtsSessionDataDds
PUBLIC
$<$<BOOL:${BUILD_RTI}>:nddscore>
$<$<BOOL:${BUILD_RTI}>:ddsQoS>
# fournit dds::topic::topic_type_support<Core::*>::register_type
$<$<BOOL:${BUILD_RTI}>:$<IF:$<TARGET_EXISTS:ddscore>,ddscore,>>
NGLLogger
Qt6::Core
)
@@ -47,8 +49,10 @@ IF(BUILD_RTI)
)
# ddscore target generates core_dtc_types.h
ADD_DEPENDENCIES(LtsSessionDataDds ddscore)
# PUBLIC : nddscore est lie en PUBLIC ci-dessus, donc "-lnddscore" se propage
# aux consommateurs ; le repertoire de recherche doit se propager avec lui.
NGL_TARGET_LINK_DIRECTORIES(LtsSessionDataDds
PRIVATE
PUBLIC
${RTI_LIB_DIR}
)
ENDIF()
@@ -183,8 +183,10 @@ class LTSSESSIONDATADDS_EXPORT LtsSessionDataDds : public QObject
#ifdef BUILD_RTI
bool initInternal();
void onPartitionTimeChangedInternal();
static LtsSession::PartitionType toPartitionType(IDL::PartitionType idlType);
static IDL::PartitionType toIdlPartitionType(LtsSession::PartitionType type);
static ::LtsSession::PartitionType toPartitionType(IDL::PartitionType idlType);
// NOTE: toIdlPartitionType est une fonction du namespace anonyme dans le .cpp
// (partagee avec DdsConnectionContainer), pas un membre. La declarer ici la
// masquait dans les methodes de la classe -> reference non definie a l'edition de liens.
// Member variables - only with RTI
int m_exerciseId;