ACF $AcfVersion:0$
CTextParamTest.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
11#include <iprm/CTextParam.h>
12
13
14class CTextParamTest: public QObject
15{
16 Q_OBJECT
17
18private Q_SLOTS:
19 void initTestCase();
20
21 void GetSetTest();
22 void SetSameTextTest();
23 void SetEmptyTextTest();
24 void GetSupportedOperationsTest();
25 void ResetTest();
26 void ResetEmptyTest();
27 void SerializeTest();
28 void CopyFromTest();
29 void CopyFromIncompatibleTest();
30 void CloneTest();
31 void CloneWithModeTest();
32 void IsEqualTest();
33 void IsEqualDifferentTextTest();
34 void IsEqualIncompatibleTest();
35 void IsReadOnlyTest();
36
37 void cleanupTestCase();
38
39private:
40 iprm::CTextParam m_param;
41 const QString m_text = "Test Text Value";
42};
43
44
Implementation of the text value over iprm::ITextParam interface.
Definition CTextParam.h:17