File indexing completed on 2024-05-12 05:21:35

0001 /*
0002   SPDX-FileCopyrightText: 2010 BetterInbox <contact@betterinbox.com>
0003   SPDX-FileContributor: Christophe Laveault <christophe@betterinbox.com>
0004   SPDX-FileContributor: Gregory Schlomoff <gregory.schlomoff@gmail.com>
0005 
0006   SPDX-License-Identifier: LGPL-2.1-or-later
0007 */
0008 
0009 #pragma once
0010 
0011 #include "QObject"
0012 
0013 class SmtpTest : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     SmtpTest();
0019 
0020 private Q_SLOTS:
0021     void initTestCase();
0022     void cleanupTestCase();
0023 
0024     void testHello();
0025     void testHello_data();
0026 
0027     void testLoginJob();
0028     void testLoginJob_data();
0029 
0030     void testSendJob();
0031     void testSendJob_data();
0032 
0033     // TODO: (CL) Check if SendJob parses properly the data it gets before sending
0034 };