]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testHttpRequest.h
merged from trunk
[thirdparty/squid.git] / src / tests / testHttpRequest.h
1
2 #ifndef SQUID_SRC_TEST_HTTP_REQUEST_H
3 #define SQUID_SRC_TEST_HTTP_REQUEST_H
4
5 #include <cppunit/extensions/HelperMacros.h>
6
7 /*
8 * test HttpRequest
9 */
10
11 class testHttpRequest : public CPPUNIT_NS::TestFixture
12 {
13 CPPUNIT_TEST_SUITE( testHttpRequest );
14 CPPUNIT_TEST( testCreateFromUrlAndMethod );
15 CPPUNIT_TEST( testCreateFromUrl );
16 CPPUNIT_TEST( testIPv6HostColonBug );
17 CPPUNIT_TEST( testSanityCheckStartLine );
18 CPPUNIT_TEST_SUITE_END();
19
20 public:
21 void setUp();
22
23 protected:
24 void testCreateFromUrlAndMethod();
25 void testCreateFromUrl();
26 void testIPv6HostColonBug();
27 void testSanityCheckStartLine();
28 };
29
30 #endif
31