xref: /haiku/src/tests/system/kernel/util/DoublyLinkedListTest.h (revision 77b1fd224322628748a663de467af3775a474690)
1*77b1fd22SAxel Dörfler #ifndef _DOUBLY_LINKED_LIST_TEST_H_
2*77b1fd22SAxel Dörfler #define _DOUBLY_LINKED_LIST_TEST_H_
3*77b1fd22SAxel Dörfler 
4*77b1fd22SAxel Dörfler #include <TestCase.h>
5*77b1fd22SAxel Dörfler 
6*77b1fd22SAxel Dörfler class DoublyLinkedListTest : public BTestCase {
7*77b1fd22SAxel Dörfler 	public:
8*77b1fd22SAxel Dörfler 		DoublyLinkedListTest(std::string name = "");
9*77b1fd22SAxel Dörfler 
10*77b1fd22SAxel Dörfler 		static CppUnit::Test *Suite();
11*77b1fd22SAxel Dörfler 
12*77b1fd22SAxel Dörfler 		void WithoutOffsetTest();
13*77b1fd22SAxel Dörfler 		void WithOffsetTest();
14*77b1fd22SAxel Dörfler 		void VirtualWithoutOffsetTest();
15*77b1fd22SAxel Dörfler 		void VirtualWithOffsetTest();
16*77b1fd22SAxel Dörfler 
17*77b1fd22SAxel Dörfler 	private:
18*77b1fd22SAxel Dörfler 		template <typename Item> void TestList();
19*77b1fd22SAxel Dörfler };
20*77b1fd22SAxel Dörfler 
21*77b1fd22SAxel Dörfler #endif	/* _DOUBLY_LINKED_LIST_TEST_H_ */
22