]>
Commit | Line | Data |
---|---|---|
0545caaa | 1 | /* |
5b74111a | 2 | * Copyright (C) 1996-2018 The Squid Software Foundation and contributors |
0545caaa 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 | */ | |
8 | ||
1fa9b1a7 AJ |
9 | #ifndef SQUID_LIB_TEST_RFC1738_H |
10 | #define SQUID_LIB_TEST_RFC1738_H | |
11 | ||
12 | #include <cppunit/extensions/HelperMacros.h> | |
13 | ||
14 | /** | |
15 | * Test the URL coder RFC 1738 Engine | |
16 | */ | |
17 | class testRFC1738 : public CPPUNIT_NS::TestFixture | |
18 | { | |
19 | CPPUNIT_TEST_SUITE( testRFC1738 ); | |
b40aeba5 AJ |
20 | CPPUNIT_TEST( testUrlDecode ); |
21 | CPPUNIT_TEST( testUrlEncode ); | |
1fa9b1a7 AJ |
22 | |
23 | CPPUNIT_TEST( PercentZeroNullDecoding ); | |
24 | CPPUNIT_TEST_SUITE_END(); | |
25 | ||
26 | public: | |
27 | ||
28 | protected: | |
29 | void testUrlDecode(); | |
30 | void testUrlEncode(); | |
31 | ||
32 | // bugs. | |
33 | void PercentZeroNullDecoding(); | |
34 | }; | |
35 | ||
36 | #endif /* SQUID_LIB_TEST_RFC1738_H */ | |
f53969cc | 37 |