]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testRock.h
2 * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_SRC_TEST_TESTROCK_H
10 #define SQUID_SRC_TEST_TESTROCK_H
12 #include "compat/cppunit.h"
15 * test the store framework
18 class testRock
: public CPPUNIT_NS::TestFixture
20 CPPUNIT_TEST_SUITE( testRock
);
21 CPPUNIT_TEST( testRockCreate
);
22 CPPUNIT_TEST( testRockSwapOut
);
23 CPPUNIT_TEST_SUITE_END();
26 testRock() : rr(nullptr) {}
28 virtual void tearDown();
30 typedef RefCount
<Rock::SwapDir
> SwapDirPointer
;
35 StoreEntry
*createEntry(const int i
);
36 StoreEntry
*addEntry(const int i
);
37 StoreEntry
*getEntry(const int i
);
38 void testRockCreate();
39 void testRockSwapOut();
46 #endif /* SQUID_SRC_TEST_TESTROCK_H */