Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
58a8da64
Unverified
Commit
58a8da64
authored
Oct 23, 2018
by
Sergio Valverde
Committed by
GitHub
Oct 23, 2018
Browse files
ACTION table format
parent
82987067
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
googlemock/docs/DesignDoc.md
googlemock/docs/DesignDoc.md
+1
-0
No files found.
googlemock/docs/DesignDoc.md
View file @
58a8da64
...
@@ -198,6 +198,7 @@ Google Test (the name is chosen to match `static_assert` in C++0x).
...
@@ -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`
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment