Files
qt5-legatus-legacy/Lts/Services/AudioVideoManagement/UnitTests/ava_comm_test.h
T
2026-08-13 18:33:10 +02:00

57 lines
937 B
C++
Executable File

/**
* @RDE_HEADER@
* AvaComm
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Fröbel, SLSE, 2017-06-20
*/
#pragma once
#include <QTest>
#include <memory>
namespace AudioVideoManagement
{
class AvaComm;
class AvaTestServer;
}
/**
* @author Christian Fröbel
*/
class AvaCommTest : public QObject
{
Q_OBJECT
public:
AvaCommTest();
~AvaCommTest();
private slots:
void initTestCase();
void cleanupTestCase();
void init();
void cleanup();
void testSwitchContext();
void testSetUserProfile();
void testSetVideoDialogProfile();
void testGetStreamList();
void testChooseStream();
void testQueryTimeline();
void testGetElokaList();
private:
void login();
class SignalSpy;
std::unique_ptr<AudioVideoManagement::AvaTestServer> m_fakeAvaServer;
std::unique_ptr<AudioVideoManagement::AvaComm> m_avaComm;
std::unique_ptr<SignalSpy> m_spy;
};