/** * @RDE_HEADER@ * UnitTests for ExerciseManagement (EXM) * $Id$ * $HeadURL$ * $Author$ * Created by Hanna E. Rathje, SLSE, 2015-08-20 */ #pragma once #include #include #include namespace NGL { class INGLLogger; } class DataTopicTests; class DataTopicTestsMain : public QObject { Q_OBJECT public: DataTopicTestsMain(); private Q_SLOTS: void initTestCase(); void publishServiceInformationTestCase(); void subscribeServiceInformationTestCase(); void publishGroupInformationTestCase(); void subscribeGroupInformationTestCase(); void cleanupTestCase(); protected: private: ServiceManagement::ServiceInformation m_sentServiceInformationData; ServiceManagement::GroupInformation m_sentGroupInformationData; QSignalSpy *m_serviceInformationDataArrivedSpy = nullptr; QSignalSpy *m_groupInformationDataArrivedSpy = nullptr; DataTopicTests *m_dtTest = nullptr; NGL::INGLLogger &m_logger; };