This commit is contained in:
Dirk Faust 2019-09-30 11:42:25 +02:00
commit e78d548e04
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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 :