1 | // |
2 | // SimpleHashTableTest.h |
3 | // |
4 | // Definition of the SimpleHashTableTest class. |
5 | // |
6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | |
13 | #ifndef SimpleHashTableTest_INCLUDED |
14 | #define SimpleHashTableTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Foundation.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class SimpleHashTableTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | SimpleHashTableTest(const std::string& name); |
25 | ~SimpleHashTableTest(); |
26 | |
27 | void testInsert(); |
28 | void testOverflow(); |
29 | void testUpdate(); |
30 | void testSize(); |
31 | void testResize(); |
32 | void testStatistic(); |
33 | |
34 | void setUp(); |
35 | void tearDown(); |
36 | |
37 | static CppUnit::Test* suite(); |
38 | |
39 | private: |
40 | }; |
41 | |
42 | |
43 | #endif // SimpleHashTableTest_INCLUDED |
44 | |