ACTION table format

pull/1927/head
Sergio Valverde 7 years ago committed by GitHub
parent 82987067d8
commit 58a8da64ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      googlemock/docs/DesignDoc.md

@ -198,6 +198,7 @@ Google Test (the name is chosen to match `static_assert` in C++0x).
If you are writing a function that returns an `ACTION` object, you'll 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 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: the action and the parameter types. The rule is relatively simple:
| **Given Definition** | **Expression** | **Has Type** | | **Given Definition** | **Expression** | **Has Type** |
|:-------------------------|:-----------------------------|:-------------------------| |:-------------------------|:-----------------------------|:-------------------------|
| `ACTION(Foo)` | `Foo()` | `FooAction` | | `ACTION(Foo)` | `Foo()` | `FooAction` |

Loading…
Cancel
Save