blob: 795b40e78bedc3420816def8c4269667fcf7e7d5 [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_CONST_METHOD0(dlerror, const char*());
MOCK_CONST_METHOD2(dlopen, void*(const char*, int));
MOCK_CONST_METHOD2(dlsym, void*(void*, const char*));
};
} // namespace internal
} // namespace blobs