1 | // |
---|---|
2 | // MailMessageTest.h |
3 | // |
4 | // Definition of the MailMessageTest class. |
5 | // |
6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | |
13 | #ifndef MailMessageTest_INCLUDED |
14 | #define MailMessageTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Net/Net.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class MailMessageTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | MailMessageTest(const std::string& name); |
25 | ~MailMessageTest(); |
26 | |
27 | void testWriteQP(); |
28 | void testWrite8Bit(); |
29 | void testWriteBase64(); |
30 | void testWriteManyRecipients(); |
31 | void testWriteMultiPart(); |
32 | void testReadWriteMultiPart(); |
33 | void testReadWriteMultiPartStore(); |
34 | void testReadDefaultTransferEncoding(); |
35 | void testReadDefaultContentType(); |
36 | void testReadQP(); |
37 | void testRead8Bit(); |
38 | void testReadMultiPart(); |
39 | void testReadMultiPartWithAttachmentNames(); |
40 | void testReadMultiPartDefaultTransferEncoding(); |
41 | void testEncodeWord(); |
42 | void testDecodeWord(); |
43 | |
44 | void setUp(); |
45 | void tearDown(); |
46 | |
47 | static CppUnit::Test* suite(); |
48 | |
49 | private: |
50 | }; |
51 | |
52 | |
53 | #endif // MailMessageTest_INCLUDED |
54 |