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 <Akonadi/Item> 0010 #include <QObject> 0011 0012 class MergeContactWidgetTest : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 MergeContactWidgetTest(); 0017 private Q_SLOTS: 0018 void shouldHaveDefaultValueOnCreation(); 0019 void shouldFillList(); 0020 void shouldFillListWithValidItem(); 0021 void shouldEnableButton(); 0022 void shouldEmitSignalsWhenThereIsElementSelected(); 0023 void shouldEmitSignalsWhenThereIsTwoElementsSelected(); 0024 void shouldEmitSignalsWhenSelectContact(); 0025 0026 private: 0027 Akonadi::Item::List createItems(); 0028 };