39 lines
658 B
C++
Executable File
39 lines
658 B
C++
Executable File
|
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QSignalSpy>
|
|
#include <DdsUnitTests/ddsut_dtc_types.h>
|
|
|
|
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:
|
|
|
|
private:
|
|
DdsUnitTests::TestParticipant m_sentParticipantData;
|
|
QSignalSpy *m_participantDataArrivedSpy = nullptr;
|
|
DataTopicTests *m_dtTest = nullptr;
|
|
NGL::INGLLogger &m_logger;
|
|
};
|