diff options
author | Gennadiy Civil <misterg@google.com> | 2019-07-18 15:39:49 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-07-18 15:39:49 (GMT) |
commit | 15756aa0c88591c10108e740ad3096a3af966242 (patch) | |
tree | fd3074818b6a3b3c594fd2ac0760ed72277900a5 /googlemock/docs/cook_book.md | |
parent | 34ddfff9469cba9944ba0159beca02fb42321465 (diff) | |
download | googletest-15756aa0c88591c10108e740ad3096a3af966242.zip googletest-15756aa0c88591c10108e740ad3096a3af966242.tar.gz googletest-15756aa0c88591c10108e740ad3096a3af966242.tar.bz2 |
Manual docs tweaks still in preparation for including docs with code pushes
Diffstat (limited to 'googlemock/docs/cook_book.md')
-rw-r--r-- | googlemock/docs/cook_book.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md index 10b6d85..a858cd1 100644 --- a/googlemock/docs/cook_book.md +++ b/googlemock/docs/cook_book.md @@ -154,7 +154,7 @@ class MockStack : public StackInterface<Elem> { #### Mocking Non-virtual Methods {#MockingNonVirtualMethods} gMock can mock non-virtual functions to be used in Hi-perf dependency -injection.<!-- GOOGLETEST_CM0016 DO NOT DELETE -->. +injection.<!-- GOOGLETEST_CM0017 DO NOT DELETE -->. In this case, instead of sharing a common base class with the real class, your mock class will be *unrelated* to the real class, but contain methods with the @@ -1455,7 +1455,7 @@ mock object and gMock. #### Knowing When to Expect {#UseOnCall} -<!-- GOOGLETEST_CM0017 DO NOT DELETE --> +<!-- GOOGLETEST_CM0018 DO NOT DELETE --> **`ON_CALL`** is likely the *single most under-utilized construct* in gMock. |