File indexing completed on 2024-11-24 04:43:05
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 MailSenderJobTest : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 MailSenderJobTest(); 0016 0017 private Q_SLOTS: 0018 void shouldNotSendSignalWhenWeDontSelectItem(); 0019 void shouldNotSendSignalWhenNoValidAddressItem(); 0020 void shouldNotSendSignalWhenNoEmails(); 0021 void shouldSendSignalWhenOneEmail(); 0022 void shouldNotSendTwiceEmails(); 0023 void shouldNotAddInvalidEmail(); 0024 void shouldEmitSignalIfThereIsAValidEmail(); 0025 };