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