1 | // |
---|---|
2 | // HTTPServerTest.h |
3 | // |
4 | // Definition of the HTTPServerTest 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 HTTPServerTest_INCLUDED |
14 | #define HTTPServerTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Net/Net.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class HTTPServerTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | HTTPServerTest(const std::string& name); |
25 | ~HTTPServerTest(); |
26 | |
27 | void testIdentityRequest(); |
28 | void testPutIdentityRequest(); |
29 | void testChunkedRequest(); |
30 | void testClosedRequest(); |
31 | void testIdentityRequestKeepAlive(); |
32 | void testChunkedRequestKeepAlive(); |
33 | void testClosedRequestKeepAlive(); |
34 | void testMaxKeepAlive(); |
35 | void testKeepAliveTimeout(); |
36 | void test100Continue(); |
37 | void testRedirect(); |
38 | void testAuth(); |
39 | void testNotImpl(); |
40 | void testBuffer(); |
41 | |
42 | void setUp(); |
43 | void tearDown(); |
44 | |
45 | static CppUnit::Test* suite(); |
46 | |
47 | private: |
48 | }; |
49 | |
50 | |
51 | #endif // HTTPServerTest_INCLUDED |
52 |