blob: 795b40e78bedc3420816def8c4269667fcf7e7d5 [file] [log] [blame]
Patrick Venturec18e2b62018-11-21 14:19:28 -08001#pragma once
2
3#include "internal/sys.hpp"
4
5#include <gmock/gmock.h>
6
7namespace blobs
8{
9namespace internal
10{
11
12class InternalDlSysMock : public DlSysInterface
13{
14 public:
15 virtual ~InternalDlSysMock() = default;
16
17 MOCK_CONST_METHOD0(dlerror, const char*());
18 MOCK_CONST_METHOD2(dlopen, void*(const char*, int));
19 MOCK_CONST_METHOD2(dlsym, void*(void*, const char*));
20};
21
22} // namespace internal
23} // namespace blobs