summaryrefslogtreecommitdiff
path: root/googlemock/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-08-11 15:42:36 -0400
committerGennadiy Rozental <rogeeff@google.com>2020-08-12 02:41:20 -0400
commit10ade8473b698a8fe14ddb518c2abd228669657a (patch)
tree58e1c1845851b7e1cafa9b3d5cdfec8c947a7e7f /googlemock/docs
parent6c655699c4cd8a00a39d8e9124b47a3fb879d554 (diff)
downloadgoogletest-git-10ade8473b698a8fe14ddb518c2abd228669657a.tar.gz
Googletest export
internal change PiperOrigin-RevId: 326080000
Diffstat (limited to 'googlemock/docs')
-rw-r--r--googlemock/docs/cheat_sheet.md2
-rw-r--r--googlemock/docs/cook_book.md2
-rw-r--r--googlemock/docs/for_dummies.md2
-rw-r--r--googlemock/docs/gmock_faq.md2
-rw-r--r--googlemock/docs/pump_manual.md2
5 files changed, 10 insertions, 0 deletions
diff --git a/googlemock/docs/cheat_sheet.md b/googlemock/docs/cheat_sheet.md
index 85620f71..2500260f 100644
--- a/googlemock/docs/cheat_sheet.md
+++ b/googlemock/docs/cheat_sheet.md
@@ -2,6 +2,8 @@
<!-- GOOGLETEST_CM0019 DO NOT DELETE -->
+<!-- GOOGLETEST_CM0035 DO NOT DELETE -->
+
<!-- GOOGLETEST_CM0033 DO NOT DELETE -->
## Defining a Mock Class
diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md
index 3fc1198a..d7cee698 100644
--- a/googlemock/docs/cook_book.md
+++ b/googlemock/docs/cook_book.md
@@ -10,6 +10,8 @@ recommended to write `using ::testing::Foo;` once in your file before using the
name `Foo` defined by gMock. We omit such `using` statements in this section for
brevity, but you should do it in your own code.
+<!-- GOOGLETEST_CM0035 DO NOT DELETE -->
+
## Creating Mock Classes
Mock classes are defined as normal classes, using the `MOCK_METHOD` macro to
diff --git a/googlemock/docs/for_dummies.md b/googlemock/docs/for_dummies.md
index 4ce7b948..a9c012b8 100644
--- a/googlemock/docs/for_dummies.md
+++ b/googlemock/docs/for_dummies.md
@@ -2,6 +2,8 @@
<!-- GOOGLETEST_CM0013 DO NOT DELETE -->
+<!-- GOOGLETEST_CM0035 DO NOT DELETE -->
+
## What Is gMock?
When you write a prototype or test, often it's not feasible or wise to rely on
diff --git a/googlemock/docs/gmock_faq.md b/googlemock/docs/gmock_faq.md
index 7f8c647a..14acae53 100644
--- a/googlemock/docs/gmock_faq.md
+++ b/googlemock/docs/gmock_faq.md
@@ -2,6 +2,8 @@
<!-- GOOGLETEST_CM0021 DO NOT DELETE -->
+<!-- GOOGLETEST_CM0035 DO NOT DELETE -->
+
### When I call a method on my mock object, the method for the real object is invoked instead. What's the problem?
In order for a method to be mocked, it must be *virtual*, unless you use the
diff --git a/googlemock/docs/pump_manual.md b/googlemock/docs/pump_manual.md
index cdf7c57d..19f1a48e 100644
--- a/googlemock/docs/pump_manual.md
+++ b/googlemock/docs/pump_manual.md
@@ -1,5 +1,7 @@
<b>P</b>ump is <b>U</b>seful for <b>M</b>eta <b>P</b>rogramming.
+<!-- GOOGLETEST_CM0035 DO NOT DELETE -->
+
# The Problem
Template and macro libraries often need to define many classes, functions, or