blob: 8c2cf21daf400e31f36ac7928b39e2d08bca6a0c [file] [log] [blame]
#pragma once
#include "internal/sys.hpp"
#include <gmock/gmock.h>
namespace blobs
{
namespace internal
{
class InternalDlSysMock : public DlSysInterface
{
public:
virtual ~InternalDlSysMock() = default;
MOCK_METHOD(const char*, dlerror, (), (const, override));
MOCK_METHOD(void*, dlopen, (const char*, int), (const, override));
MOCK_METHOD(void*, dlsym, (void*, const char*), (const, override));
};
} // namespace internal
} // namespace blobs