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_STOREHASHINDEX_H 10 #define SQUID_SRC_TEST_STOREHASHINDEX_H 11 12 #include <cppunit/extensions/HelperMacros.h> 13 14 /* 15 * test the store framework 16 */ 17 18 class testStoreHashIndex : public CPPUNIT_NS::TestFixture 19 { 20 CPPUNIT_TEST_SUITE( testStoreHashIndex ); 21 CPPUNIT_TEST( testStats ); 22 CPPUNIT_TEST( testMaxSize ); 23 CPPUNIT_TEST( testSearch ); 24 CPPUNIT_TEST_SUITE_END(); 25 26 public: 27 28 protected: 29 void testStats(); 30 void testMaxSize(); 31 void testSearch(); 32 }; 33 34 #endif 35 36