- Formatted all CodeGen module files (9 files) - Formatted LtsAppDescriptor module files - Formatted LtsAppManager/AppChooser files - Applied clang-format to all DTC and enum headers across modules - Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/) Cosmetic changes only, no functional modifications. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
38 lines
634 B
C++
38 lines
634 B
C++
|
|
|
|
#pragma once
|
|
|
|
#include <DdsUnitTests/ddsut_dtc_types.h>
|
|
#include <QObject>
|
|
#include <QSignalSpy>
|
|
|
|
namespace NGL
|
|
{
|
|
class INGLLogger;
|
|
}
|
|
|
|
class DataTopicTests;
|
|
|
|
class DataTopicTestsMain : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
DataTopicTestsMain();
|
|
|
|
private Q_SLOTS:
|
|
void initTestCase();
|
|
void publishTestCase();
|
|
void subscribeTestCase();
|
|
void deleteDataReaderTestCase();
|
|
void cleanupTestCase();
|
|
|
|
protected:
|
|
NGL::INGLLogger& m_logger;
|
|
|
|
private:
|
|
DdsUnitTests::TestParticipant m_sentParticipantData;
|
|
QSignalSpy* m_participantDataArrivedSpy = nullptr;
|
|
DataTopicTests* m_dtTest = nullptr;
|
|
};
|