1 | // |
---|---|
2 | // HTTPClientSessionTest.h |
3 | // |
4 | // Definition of the HTTPClientSessionTest 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 HTTPClientSessionTest_INCLUDED |
14 | #define HTTPClientSessionTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Net/Net.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class HTTPClientSessionTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | HTTPClientSessionTest(const std::string& name); |
25 | ~HTTPClientSessionTest(); |
26 | |
27 | void testGetSmall(); |
28 | void testGetLarge(); |
29 | void testHead(); |
30 | void testPostSmallIdentity(); |
31 | void testPostLargeIdentity(); |
32 | void testPostSmallChunked(); |
33 | void testPostLargeChunked(); |
34 | void testPostSmallClose(); |
35 | void testPostLargeClose(); |
36 | void testKeepAlive(); |
37 | void testProxy(); |
38 | void testProxyAuth(); |
39 | void testBypassProxy(); |
40 | void testExpectContinue(); |
41 | void testExpectContinueFail(); |
42 | |
43 | void setUp(); |
44 | void tearDown(); |
45 | |
46 | static CppUnit::Test* suite(); |
47 | |
48 | private: |
49 | }; |
50 | |
51 | |
52 | #endif // HTTPClientSessionTest_INCLUDED |
53 |