]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testHttpRequest.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / tests / testHttpRequest.h
1 /*
2 * Copyright (C) 1996-2018 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( testCreateFromUrl );
22 CPPUNIT_TEST( testIPv6HostColonBug );
23 CPPUNIT_TEST( testSanityCheckStartLine );
24 CPPUNIT_TEST_SUITE_END();
25
26 public:
27 void setUp();
28
29 protected:
30 void testCreateFromUrl();
31 void testIPv6HostColonBug();
32 void testSanityCheckStartLine();
33 };
34
35 #endif
36