mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Merge pull request #71 from sigiesec/fix-protected-method-docs
Fix documentation regarding protected methods
This commit is contained in:
commit
44e8509d6f
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ namespace
|
|||
//[ limitations_protected_private_method_problem
|
||||
class base
|
||||
{
|
||||
private:
|
||||
protected:
|
||||
virtual void method_1() = 0;
|
||||
private:
|
||||
virtual void method_2() = 0;
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ A workaround would be to add the signature to MOCK_METHOD :
|
|||
|
||||
[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 :
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue