mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Merge branch 'master' of https://github.com/mat007/turtle
This commit is contained in:
commit
e78d548e04
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ namespace
|
||||||
//[ limitations_protected_private_method_problem
|
//[ limitations_protected_private_method_problem
|
||||||
class base
|
class base
|
||||||
{
|
{
|
||||||
private:
|
protected:
|
||||||
virtual void method_1() = 0;
|
virtual void method_1() = 0;
|
||||||
private:
|
private:
|
||||||
virtual void method_2() = 0;
|
virtual void method_2() = 0;
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ A workaround would be to add the signature to MOCK_METHOD :
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
[section Private virtual methods cannot be mocked without specifying the signature]
|
[section Protected and private virtual methods cannot be mocked without specifying the signature]
|
||||||
|
|
||||||
Given :
|
Given :
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue