Googletest export
Delete internal tags from docs PiperOrigin-RevId: 353769887
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
## Legacy gMock FAQ {#GMockFaq}
|
||||
|
||||
go/gmockfaq
|
||||
|
||||
[TOC]
|
||||
|
||||
### 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
|
||||
@@ -83,8 +79,6 @@ void Bar(int* p); // Neither p nor *p is const.
|
||||
void Bar(const int* p); // p is not const, but *p is.
|
||||
```
|
||||
|
||||
<!--#include file="includes/g3_mock_multithreaded.md"-->
|
||||
|
||||
### I can't figure out why gMock thinks my expectations are not satisfied. What should I do?
|
||||
|
||||
You might want to run your test with `--gmock_verbose=info`. This flag lets
|
||||
@@ -128,8 +122,6 @@ using ::testing::_;
|
||||
.Times(0);
|
||||
```
|
||||
|
||||
<!--#include file="includes/g3_mock_a_stubby_server.md"-->
|
||||
|
||||
### I have a failed test where gMock tells me TWICE that a particular expectation is not satisfied. Isn't this redundant?
|
||||
|
||||
When gMock detects a failure, it prints relevant information (the mock function
|
||||
|
||||
Reference in New Issue
Block a user