mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added support for mocking protected member function
This commit is contained in:
parent
12a252a850
commit
ed36823235
3 changed files with 20 additions and 10 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue