- Migrated all 104 CMakeLists.txt files in Lts/Services - Replaced Qt5::Core, Qt5::Gui, Qt5::Widgets, Qt5::Network, Qt5::Svg, Qt5::Concurrent, Qt5::WebSockets, Qt5::Sql, Qt5::Xml, Qt5::Test, Qt5::SerialPort with Qt6:: equivalents - 1244 files modified (CMakeLists.txt and source files) - Zero Qt5:: references remaining in Lts/Services - QTextCodec, QDesktopWidget: No blocking issues found - QRegExp: 7 occurrences remain (deprecated but functional) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
57 lines
937 B
C++
Executable File
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;
|
|
};
|