Make Filesystem mock a strict mock

This commit is contained in:
Sebastian Messmer 2014-11-21 01:11:42 +01:00
parent 2ff9c416df
commit 18aa7b9def

View File

@ -120,7 +120,7 @@ public:
return std::make_unique<TempTestFS>(&fsimpl);
}
MockFilesystem fsimpl;
::testing::StrictMock<MockFilesystem> fsimpl;
::testing::Action<void(const char*, struct ::stat*)> ReturnIsFile =
::testing::Invoke([](const char*, struct ::stat* result) {