Make Filesystem mock a strict mock
This commit is contained in:
parent
2ff9c416df
commit
18aa7b9def
@ -120,7 +120,7 @@ public:
|
|||||||
return std::make_unique<TempTestFS>(&fsimpl);
|
return std::make_unique<TempTestFS>(&fsimpl);
|
||||||
}
|
}
|
||||||
|
|
||||||
MockFilesystem fsimpl;
|
::testing::StrictMock<MockFilesystem> fsimpl;
|
||||||
|
|
||||||
::testing::Action<void(const char*, struct ::stat*)> ReturnIsFile =
|
::testing::Action<void(const char*, struct ::stat*)> ReturnIsFile =
|
||||||
::testing::Invoke([](const char*, struct ::stat* result) {
|
::testing::Invoke([](const char*, struct ::stat* result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user