1 /* 2 * Copyright (C) 1996-2021 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_METHOD_H 10 #define SQUID_SRC_TEST_HTTP_REQUEST_METHOD_H 11 12 #include <cppunit/extensions/HelperMacros.h> 13 14 /* 15 * test HttpRequestMethod 16 */ 17 18 class testHttpRequestMethod : public CPPUNIT_NS::TestFixture 19 { 20 CPPUNIT_TEST_SUITE( testHttpRequestMethod ); 21 CPPUNIT_TEST( testAssignFrommethod_t ); 22 CPPUNIT_TEST( testConstructmethod_t ); 23 CPPUNIT_TEST( testConstructCharStart ); 24 CPPUNIT_TEST( testConstructCharStartEnd ); 25 CPPUNIT_TEST( testDefaultConstructor ); 26 CPPUNIT_TEST( testEqualmethod_t ); 27 CPPUNIT_TEST( testNotEqualmethod_t ); 28 CPPUNIT_TEST( testImage ); 29 CPPUNIT_TEST( testStream ); 30 CPPUNIT_TEST_SUITE_END(); 31 32 public: 33 34 protected: 35 void testAssignFrommethod_t(); 36 void testConstructmethod_t(); 37 void testConstructCharStart(); 38 void testConstructCharStartEnd(); 39 void testImage(); 40 void testDefaultConstructor(); 41 void testEqualmethod_t(); 42 void testNotEqualmethod_t(); 43 void testStream(); 44 }; 45 46 #endif 47 48