File indexing completed on 2024-03-24 05:21:15
0001 /* 0002 SPDX-FileCopyrightText: 2006 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 class HeaderTest : public QObject 0012 { 0013 Q_OBJECT 0014 private Q_SLOTS: 0015 void testIdentHeader(); 0016 void testAddressListHeader(); 0017 void testMailboxListHeader(); 0018 void testSingleMailboxHeader(); 0019 void testMailCopiesToHeader(); 0020 void testParametrizedHeader(); 0021 void testContentDispositionHeader(); 0022 void testContentTypeHeader(); 0023 void testTokenHeader(); 0024 void testContentTransferEncoding(); 0025 void testPhraseListHeader(); 0026 void testDotAtomHeader(); 0027 void testDateHeader(); 0028 void testLinesHeader(); 0029 void testNewsgroupsHeader(); 0030 void testControlHeader(); 0031 void testReturnPath(); 0032 void testInvalidButOkQEncoding(); 0033 void testInvalidQEncoding(); 0034 void testInvalidQEncoding_data(); 0035 void testBug271192(); 0036 void testBug271192_data(); 0037 void testMissingQuotes(); 0038 void testParseNextHeader(); 0039 0040 // makes sure we don't accidentally have an abstract header class that's not 0041 // meant to be abstract 0042 void noAbstractHeaders(); 0043 }; 0044