]> git.ipfire.org Git - thirdparty/squid.git/blob - lib/tests/testRFC1738.h
Enable full RFC1738 tests
[thirdparty/squid.git] / lib / tests / testRFC1738.h
1 #ifndef SQUID_LIB_TEST_RFC1738_H
2 #define SQUID_LIB_TEST_RFC1738_H
3
4 #include <cppunit/extensions/HelperMacros.h>
5
6 /**
7 * Test the URL coder RFC 1738 Engine
8 */
9 class testRFC1738 : public CPPUNIT_NS::TestFixture
10 {
11 CPPUNIT_TEST_SUITE( testRFC1738 );
12 CPPUNIT_TEST( testUrlDecode );
13 CPPUNIT_TEST( testUrlEncode );
14
15 CPPUNIT_TEST( PercentZeroNullDecoding );
16 CPPUNIT_TEST_SUITE_END();
17
18 public:
19
20 protected:
21 void testUrlDecode();
22 void testUrlEncode();
23
24 // bugs.
25 void PercentZeroNullDecoding();
26 };
27
28 #endif /* SQUID_LIB_TEST_RFC1738_H */