1 | // |
2 | // SMTPClientSessionTest.h |
3 | // |
4 | // Definition of the SMTPClientSessionTest 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 SMTPClientSessionTest_INCLUDED |
14 | #define SMTPClientSessionTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Net/Net.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class SMTPClientSessionTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | SMTPClientSessionTest(const std::string& name); |
25 | ~SMTPClientSessionTest(); |
26 | |
27 | void testLoginEHLO(); |
28 | void testLoginHELO(); |
29 | void testLoginFailed(); |
30 | void testSend(); |
31 | void testSendMultiRecipient(); |
32 | void testMultiSeparateRecipient(); |
33 | void testSendFailed(); |
34 | |
35 | void setUp(); |
36 | void tearDown(); |
37 | |
38 | static CppUnit::Test* suite(); |
39 | |
40 | private: |
41 | }; |
42 | |
43 | |
44 | #endif // SMTPClientSessionTest_INCLUDED |
45 | |