File indexing completed on 2024-05-05 05:17:16
0001 /* 0002 SPDX-FileCopyrightText: 2008 Thomas McGuire <mcguire@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 namespace KIdentityManagementCore 0012 { 0013 class Identity; 0014 } 0015 0016 class IdentityTester : public QObject 0017 { 0018 Q_OBJECT 0019 0020 private: 0021 bool compareIdentities(const KIdentityManagementCore::Identity &actual, const KIdentityManagementCore::Identity &expected); 0022 0023 private Q_SLOTS: 0024 void initTestCase(); 0025 void test_Identity(); 0026 void test_NullIdentity(); 0027 void test_Aliases(); 0028 void test_toMimeData(); 0029 void test_migration(); 0030 };