ACF $AcfVersion:0$
CIdParamTest.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/CIdParam.h>
12
13
14class CIdParamTest: public QObject
15{
16 Q_OBJECT
17
18private Q_SLOTS:
19 void initTestCase();
20
21 void GetSetTest();
22 void SetSameIdTest();
23 void SetEmptyIdTest();
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 IsEqualDifferentIdTest();
34 void IsEqualIncompatibleTest();
35
36 void cleanupTestCase();
37
38private:
39 iprm::CIdParam m_param;
40 const QByteArray m_id = "12345678";
41};
42
43
Implementation of a named object over iprm::INameParam interface.
Definition CIdParam.h:17