xref: /haiku/src/tests/system/kernel/disk_device_manager/KPartitionTest.h (revision fc7456e9b1ec38c941134ed6d01c438cf289381e)
1 /*
2  * Copyright 2018 Kacper Kasper <kacperkasper@gmail.com>
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 #ifndef _KPARTITION_TEST_H_
6 #define _KPARTITION_TEST_H_
7 
8 #include <TestCase.h>
9 
10 
11 class KPartitionGetMountPointTest : public BTestCase {
12 	public:
13 		KPartitionGetMountPointTest(std::string name = "");
14 
15 		static CppUnit::Test *Suite();
16 
17 		void TestPartitionWithoutFilesystemReturnsBadValue();
18 		void TestPartitionContentNameUsedFirst();
19 		void TestPartitionNameUsedSecond();
20 		void TestPartitionWithoutAnyNameIsNotRoot();
21 		void TestPartitionNameWithSlashesRemoved();
22 		void TestPartitionMountPointExists();
23 };
24 
25 #endif	/* _KPARTITION_TEST_H_ */
26