File indexing completed on 2024-12-01 06:43:05

0001 /*
0002     This file is part of the KDE project
0003 
0004     SPDX-FileCopyrightText: 2004 David Faure <faure@kde.org>
0005     SPDX-FileCopyrightText: 2009 Thomas McGuire <mcguire@kde.org>
0006 
0007     SPDX-License-Identifier: LGPL-2.0-only
0008 */
0009 #ifndef TESTEMAIL_H
0010 #define TESTEMAIL_H
0011 
0012 #include <QObject>
0013 
0014 class KEmailAddressTest : public QObject
0015 {
0016     Q_OBJECT
0017 private Q_SLOTS:
0018     void testGetNameAndEmail();
0019     void testGetNameAndEmail_data();
0020     void testIsValidEmailAddress();
0021     void testIsValidEmailAddress_data();
0022     void testIsValidAddressList();
0023     void testIsValidAddressList_data();
0024     void testIsValidSimpleEmailAddress();
0025     void testIsValidSimpleEmailAddress_data();
0026     void testGetEmailAddress();
0027     void testGetEmailAddress_data();
0028     void testCheckSplitEmailAddrList();
0029     void testCheckSplitEmailAddrList_data();
0030     void testNormalizeAddressesAndEncodeIDNs();
0031     void testNormalizeAddressesAndEncodeIDNs_data();
0032     void testNormalizeAddressesAndDecodeIDNs();
0033     void testNormalizeAddressesAndDecodeIDNs_data();
0034     void testQuoteIfNecessary();
0035     void testQuoteIfNecessary_data();
0036     void testMailtoUrls();
0037     void testMailtoUrls_data();
0038 };
0039 
0040 #endif