Added support for mocking protected member function

This commit is contained in:
Mathieu Champlon 2015-04-07 07:21:14 +02:00
parent 12a252a850
commit ed36823235
3 changed files with 20 additions and 10 deletions

View file

@ -361,6 +361,7 @@ namespace
{
virtual ~base()
{}
protected:
virtual void m1() = 0;
};
@ -439,6 +440,10 @@ namespace stdcall
{
struct base
{
virtual ~base()
{}
protected:
virtual void MOCK_STDCALL m1() = 0;
};