]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testHttpRequest.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / tests / testHttpRequest.h
1 /*
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 #ifndef SQUID_SRC_TEST_HTTP_REQUEST_H
10 #define SQUID_SRC_TEST_HTTP_REQUEST_H
11
12 #include <cppunit/extensions/HelperMacros.h>
13
14 /*
15 * test HttpRequest
16 */
17
18 class testHttpRequest : public CPPUNIT_NS::TestFixture
19 {
20 CPPUNIT_TEST_SUITE( testHttpRequest );
21 CPPUNIT_TEST( testCreateFromUrlAndMethod );
22 CPPUNIT_TEST( testCreateFromUrl );
23 CPPUNIT_TEST( testIPv6HostColonBug );
24 CPPUNIT_TEST( testSanityCheckStartLine );
25 CPPUNIT_TEST_SUITE_END();
26
27 public:
28 void setUp();
29
30 protected:
31 void testCreateFromUrlAndMethod();
32 void testCreateFromUrl();
33 void testIPv6HostColonBug();
34 void testSanityCheckStartLine();
35 };
36
37 #endif
38