]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/testHttpRequest.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / tests / testHttpRequest.h
CommitLineData
4e0938ef 1/*
bde978a6 2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
4e0938ef
AJ
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 */
c21ad0f5 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
18class testHttpRequest : public CPPUNIT_NS::TestFixture
19{
20 CPPUNIT_TEST_SUITE( testHttpRequest );
21 CPPUNIT_TEST( testCreateFromUrlAndMethod );
22 CPPUNIT_TEST( testCreateFromUrl );
cc192b50 23 CPPUNIT_TEST( testIPv6HostColonBug );
0f9db2d6 24 CPPUNIT_TEST( testSanityCheckStartLine );
c21ad0f5 25 CPPUNIT_TEST_SUITE_END();
26
27public:
16555581 28 void setUp();
c21ad0f5 29
30protected:
31 void testCreateFromUrlAndMethod();
32 void testCreateFromUrl();
cc192b50 33 void testIPv6HostColonBug();
0f9db2d6 34 void testSanityCheckStartLine();
c21ad0f5 35};
36
37#endif
38