diff --git a/src/test/testutils/FuseTest.cpp b/src/test/testutils/FuseTest.cpp index 014c2178..8911deb2 100644 --- a/src/test/testutils/FuseTest.cpp +++ b/src/test/testutils/FuseTest.cpp @@ -2,3 +2,6 @@ using ::testing::Action; using ::testing::Invoke; + +MockFilesystem::MockFilesystem() {} +MockFilesystem::~MockFilesystem() {} diff --git a/src/test/testutils/FuseTest.h b/src/test/testutils/FuseTest.h index 44becba5..0f8ef05c 100644 --- a/src/test/testutils/FuseTest.h +++ b/src/test/testutils/FuseTest.h @@ -34,6 +34,9 @@ class MockFilesystem: public fspp::Filesystem { public: + MockFilesystem(); + virtual ~MockFilesystem(); + MOCK_PATH_METHOD2(openFile, int, int); MOCK_METHOD1(closeFile, void(int)); MOCK_PATH_METHOD2(lstat, void, struct ::stat*);