-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10a1da3
commit 96818c4
Showing
4 changed files
with
558 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
sand/libsand/test/inc/private/filestoragemetadata_mock.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef SAND_TEST_FILESTORAGEMETADATA_MOCK_HPP_ | ||
#define SAND_TEST_FILESTORAGEMETADATA_MOCK_HPP_ | ||
|
||
#include <gmock/gmock.h> | ||
|
||
#include "filestoragemetadata.hpp" | ||
|
||
using namespace ::sand::storage; | ||
|
||
class FileStorageMetadataMock : public FileStorageMetadata | ||
{ | ||
public: | ||
MOCK_METHOD(bool, contains, (const std::string &), (const, override)); | ||
MOCK_METHOD(std::string, get_file_path, (const std::string &), (const, override)); | ||
MOCK_METHOD(std::string, add, (const std::string &, const std::string &), (override)); | ||
MOCK_METHOD(bool, remove, (const std::string &), (override)); | ||
}; | ||
|
||
#endif // SAND_TEST_FILESTORAGEMETADATA_MOCK_HPP_ |
Oops, something went wrong.