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