ACF $AcfVersion:0$
CIqtCompTest.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QObject>
7#include <QtTest/QtTest>
8
9// ACF includes
14#include <GeneratedFiles/IqtComponentTest/CIqtComponentTest.h>
15
16class CIqtCompTest: public QObject
17{
18 Q_OBJECT
19private slots:
20 void initTestCase();
21
22 // Tests for CApplicationSettingsProviderComp
23 void testApplicationSettingsProviderCreation();
24 void testApplicationSettingsProviderGetSettings();
25 void testApplicationSettingsProviderReadWrite();
26
27 // Tests for CIniSettingsProviderComp
28 void testIniSettingsProviderCreation();
29 void testIniSettingsProviderGetSettings();
30 void testIniSettingsProviderReadWrite();
31
32 // Tests for CClipboardSerializerComp
33 void testClipboardSerializerCreation();
34 void testClipboardSerializerInterfaces();
35 void testClipboardSerializerFileExtensions();
36
37 // Tests for CSettingsSerializerComp
38 void testSettingsSerializerCreation();
39 void testSettingsSerializerInterfaces();
40 void testSettingsSerializerFileExtensions();
41
42 // Tests for CTranslationManagerComp
43 void testTranslationManagerCreation();
44 void testTranslationManagerLanguagesInfo();
45 void testTranslationManagerSwitchLanguage();
46 void testTranslationManagerCurrentLanguage();
47
48 void cleanupTestCase();
49
50private:
51 std::shared_ptr<CIqtComponentTest> m_testInstanceCompPtr;
52
53 iqt::ISettingsProvider* m_applicationSettingsProviderPtr = nullptr;
54 iqt::ISettingsProvider* m_iniSettingsProviderPtr = nullptr;
55 ifile::IFilePersistence* m_clipboardSerializerPtr = nullptr;
56 ifile::IFilePersistence* m_settingsSerializerPtr = nullptr;
57 iqt::ITranslationManager* m_translationManagerPtr = nullptr;
58};
Interface providing loading and saving of data objects.
Interface for access the application settings object.
Common interface for the localization manager.