aboutsummaryrefslogtreecommitdiff
path: root/libs/bsapacker/tests/MockArchiveBuilderHelper.h
blob: 632977e505b19ab5963f7153d17b51fb930f5a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <bsapacker/IArchiveBuilderHelper.h>
#include <gmock/gmock.h>

using namespace BsaPacker;

class MockArchiveBuilderHelper : public IArchiveBuilderHelper
{
public:
	MOCK_METHOD(bool, isFileIgnorable, (const std::filesystem::path&, const std::vector<std::filesystem::path::string_type>&), (const, override));
	MOCK_METHOD(bool, isIncompressible, (const std::filesystem::path&), (const, override));
	MOCK_METHOD(bool, isExtensionBlacklisted, (const std::filesystem::path&), (const, override));
	MOCK_METHOD(uint32_t, getFileCount, (const std::filesystem::path&), (const, override));
	MOCK_METHOD(std::vector<std::filesystem::path::string_type>, getRootDirectoryFilenames, (const std::filesystem::path&), (const, override));
	MOCK_METHOD(bool, doesPathContainFiles, (const std::filesystem::path&, const std::vector<std::filesystem::path::string_type>&), (const, override));
};