xref: /haiku/src/tests/system/kernel/util/BOpenHashTableTest.h (revision 1a3518cf757c2da8006753f83962da5935bbc82b)
1 #ifndef BOPENHASHTABLE_TEST_H
2 #define BOPENHASHTABLE_TEST_H
3 
4 #include <TestCase.h>
5 
6 class BOpenHashTableTest : public BTestCase {
7 public:
8 	BOpenHashTableTest(std::string name = "");
9 
10 	void InsertTest();
11 	void InsertUncheckedTest();
12 	void InsertUncheckedUninitializedTest();
13 	void IterateAndCountTest();
14 	void ResizeTest();
15 	void LookupTest();
16 	void RemoveTest();
17 	void RemoveUncheckedTest();
18 	void RemoveWhenNotPresentTest();
19 	void DuplicateInsertTest();
20 	void DisableAutoExpandTest();
21 	void InitWithZeroSizeTest();
22 	void ClearTest();
23 	void ClearAndReturnTest();
24 
25 	static CppUnit::Test* Suite();
26 };
27 
28 #endif // BOPENHASHTABLE_TEST_H
29