45 public ::alicorn::extension::testing::Proxy<Proxy>
48 MOCK_METHOD2(MakeCurrent,
void(Id_t, Id_t));
49 MOCK_METHOD3(Constructor, Id_t(Id_t, Id_t,
const int));
50 MOCK_METHOD1(Destructor,
void(Id_t));
55 Context & operator= (
const Context &) =
delete;
56 bool operator== (
const Context & _Value)
const {
return (m_Id == _Value.m_Id); }
59 void MakeCurrent(
const Surface & _Param1)
const
61 Proxy::GetInstance()->MakeCurrent(m_Id, _Param1.m_Id);
64 Context(
const Display & _Param1,
const Config & _Param2,
const int _Version) :
65 m_Id(Proxy::GetInstance()->Constructor(_Param1.m_Id, _Param2.m_Id, _Version))
72 Proxy::GetInstance()->Destructor(m_Id);