| 1 | // |
|---|---|
| 2 | // HTTPRequestTest.h |
| 3 | // |
| 4 | // Definition of the HTTPRequestTest 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 HTTPRequestTest_INCLUDED |
| 14 | #define HTTPRequestTest_INCLUDED |
| 15 | |
| 16 | |
| 17 | #include "Poco/Net/Net.h" |
| 18 | #include "Poco/CppUnit/TestCase.h" |
| 19 | |
| 20 | |
| 21 | class HTTPRequestTest: public CppUnit::TestCase |
| 22 | { |
| 23 | public: |
| 24 | HTTPRequestTest(const std::string& name); |
| 25 | ~HTTPRequestTest(); |
| 26 | |
| 27 | void testWrite1(); |
| 28 | void testWrite2(); |
| 29 | void testWrite3(); |
| 30 | void testWrite4(); |
| 31 | void testRead1(); |
| 32 | void testRead2(); |
| 33 | void testRead3(); |
| 34 | void testRead4(); |
| 35 | void testInvalid1(); |
| 36 | void testInvalid2(); |
| 37 | void testInvalid3(); |
| 38 | void testCookies(); |
| 39 | |
| 40 | void setUp(); |
| 41 | void tearDown(); |
| 42 | |
| 43 | static CppUnit::Test* suite(); |
| 44 | |
| 45 | private: |
| 46 | }; |
| 47 | |
| 48 | |
| 49 | #endif // HTTPRequestTest_INCLUDED |
| 50 |