File indexing completed on 2025-01-05 04:58:20
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 0006 */ 0007 0008 #pragma once 0009 0010 #include <QObject> 0011 0012 class BlackListBalooEmailListTest : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit BlackListBalooEmailListTest(QObject *parent = nullptr); 0017 ~BlackListBalooEmailListTest() override; 0018 private Q_SLOTS: 0019 void shouldHaveDefaultValue(); 0020 void shouldFillListEmail(); 0021 void shouldFillListWithAlreadyBlackListedEmail(); 0022 void shouldReturnChangedItems(); 0023 void shouldNotAddDuplicateEmails(); 0024 void shouldExcludeDomain(); 0025 void shouldAvoidSameEmailWithDifferentCase(); 0026 void shouldAvoidSameEmailWithDisplayNameOrNot(); 0027 };