]>
Commit | Line | Data |
---|---|---|
4e0938ef | 1 | /* |
f70aedc4 | 2 | * Copyright (C) 1996-2021 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 | ||
0cde91ae | 12 | #include "compat/cppunit.h" |
c21ad0f5 | 13 | |
14 | /* | |
15 | * test HttpRequest | |
16 | */ | |
17 | ||
18 | class testHttpRequest : public CPPUNIT_NS::TestFixture | |
19 | { | |
20 | CPPUNIT_TEST_SUITE( testHttpRequest ); | |
c21ad0f5 | 21 | CPPUNIT_TEST( testCreateFromUrl ); |
cc192b50 | 22 | CPPUNIT_TEST( testIPv6HostColonBug ); |
0f9db2d6 | 23 | CPPUNIT_TEST( testSanityCheckStartLine ); |
c21ad0f5 | 24 | CPPUNIT_TEST_SUITE_END(); |
25 | ||
26 | public: | |
16555581 | 27 | void setUp(); |
c21ad0f5 | 28 | |
29 | protected: | |
c21ad0f5 | 30 | void testCreateFromUrl(); |
cc192b50 | 31 | void testIPv6HostColonBug(); |
0f9db2d6 | 32 | void testSanityCheckStartLine(); |
c21ad0f5 | 33 | }; |
34 | ||
35 | #endif | |
36 |