diff options
author | Carlos O'Ryan <coryan@google.com> | 2017-07-02 02:34:51 (GMT) |
---|---|---|
committer | Carlos O'Ryan <coryan@google.com> | 2017-07-02 02:34:51 (GMT) |
commit | 0ffd8629c9ee58ee84ec38768a5cc45faebfa297 (patch) | |
tree | 7d5f117de9daf1941399d787be18345e44bfb617 /googlemock/docs/v1_7/CookBook.md | |
parent | 2fcbc0c1ab4877f2a149fe2b4760fd2bf182d0b1 (diff) | |
download | googletest-0ffd8629c9ee58ee84ec38768a5cc45faebfa297.zip googletest-0ffd8629c9ee58ee84ec38768a5cc45faebfa297.tar.gz googletest-0ffd8629c9ee58ee84ec38768a5cc45faebfa297.tar.bz2 |
More tables that did not render correctly.refs/pull/1137/head
Diffstat (limited to 'googlemock/docs/v1_7/CookBook.md')
-rw-r--r-- | googlemock/docs/v1_7/CookBook.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/googlemock/docs/v1_7/CookBook.md b/googlemock/docs/v1_7/CookBook.md index 21cb2cb..0399489 100644 --- a/googlemock/docs/v1_7/CookBook.md +++ b/googlemock/docs/v1_7/CookBook.md @@ -3105,6 +3105,7 @@ For example, when using an `ACTION` as a stub action for mock function: int DoSomething(bool flag, int* ptr); ``` we have: + | **Pre-defined Symbol** | **Is Bound To** | |:-----------------------|:----------------| | `arg0` | the value of `flag` | @@ -3266,6 +3267,7 @@ is asked to infer the type of `x`? If you are writing a function that returns an `ACTION` object, you'll need to know its type. The type depends on the macro used to define the action and the parameter types. The rule is relatively simple: + | **Given Definition** | **Expression** | **Has Type** | |:---------------------|:---------------|:-------------| | `ACTION(Foo)` | `Foo()` | `FooAction` | |