File indexing completed on 2024-11-24 04:43:03
0001 /* 0002 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 class MergeContactsTest : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit MergeContactsTest(QObject *parent = nullptr); 0016 0017 private Q_SLOTS: 0018 void shouldReturnDefaultAddressWhenNoListItem(); 0019 void shouldReturnDefaultAddressWhenOneItem(); 0020 void noNeedManualSelectionCheckWhenEmptyList(); 0021 void noNeedManualSelectionCheckWhenOneItem(); 0022 0023 void checkNeedManualSelectionWithName_data(); 0024 void checkNeedManualSelectionWithName(); 0025 0026 void checkNeedManualSelectionWithNickName_data(); 0027 void checkNeedManualSelectionWithNickName(); 0028 0029 void checkNeedManualSelectionWithOrganization_data(); 0030 void checkNeedManualSelectionWithOrganization(); 0031 0032 void checkNeedManualSelectionWithTitle_data(); 0033 void checkNeedManualSelectionWithTitle(); 0034 0035 void checkNeedManualSelectionWithDepartement_data(); 0036 void checkNeedManualSelectionWithDepartement(); 0037 0038 void checkNeedManualSelectionWithHomePage_data(); 0039 void checkNeedManualSelectionWithHomePage(); 0040 0041 void checkNeedManualSelectionWithFamilyName_data(); 0042 void checkNeedManualSelectionWithFamilyName(); 0043 0044 void checkNeedManualSelectionWithBlog_data(); 0045 void checkNeedManualSelectionWithBlog(); 0046 0047 void checkNeedManualSelectionWithProfession_data(); 0048 void checkNeedManualSelectionWithProfession(); 0049 0050 void checkNeedManualSelectionWithOffice_data(); 0051 void checkNeedManualSelectionWithOffice(); 0052 0053 void checkNeedManualSelectionWithManagerName(); 0054 void checkNeedManualSelectionWithManagerName_data(); 0055 0056 void checkNeedManualSelectionWithAssistantName_data(); 0057 void checkNeedManualSelectionWithAssistantName(); 0058 0059 void shouldMergeNotes_data(); 0060 void shouldMergeNotes(); 0061 void shouldMergeEmails_data(); 0062 void shouldMergeEmails(); 0063 0064 void checkNeedManualSelectionWithPartnersName(); 0065 void checkNeedManualSelectionWithPartnersName_data(); 0066 0067 void checkNeedManualSelectionWithAnniversary_data(); 0068 void checkNeedManualSelectionWithAnniversary(); 0069 0070 void shouldMergeTitle_data(); 0071 void shouldMergeTitle(); 0072 0073 void shouldMergeDepartement_data(); 0074 void shouldMergeDepartement(); 0075 void shouldMergeFamilyname(); 0076 void shouldMergeFamilyname_data(); 0077 void shouldMergeHomePage_data(); 0078 void shouldMergeHomePage(); 0079 0080 void shouldMergeBlogFeed(); 0081 void shouldMergeBlogFeed_data(); 0082 0083 void checkNeedManualSelectionWithBirthday_data(); 0084 void checkNeedManualSelectionWithBirthday(); 0085 };