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