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
1dde1eed
Commit
1dde1eed
authored
Jul 01, 2017
by
Carlos O'Ryan
Browse files
Fix typos too s/destoyed/destroyed/
parent
280b2270
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
googlemock/docs/v1_5/CookBook.md
googlemock/docs/v1_5/CookBook.md
+2
-2
googlemock/docs/v1_6/CookBook.md
googlemock/docs/v1_6/CookBook.md
+2
-2
googlemock/docs/v1_7/CookBook.md
googlemock/docs/v1_7/CookBook.md
+2
-2
No files found.
googlemock/docs/v1_5/CookBook.md
View file @
1dde1eed
...
@@ -2081,12 +2081,12 @@ versus
...
@@ -2081,12 +2081,12 @@ versus
## Forcing a Verification ##
## Forcing a Verification ##
When it's being destoyed, your friendly mock object will automatically
When it's being dest
r
oyed, your friendly mock object will automatically
verify that all expectations on it have been satisfied, and will
verify that all expectations on it have been satisfied, and will
generate
[
Google Test
](
http://code.google.com/p/googletest/
)
failures
generate
[
Google Test
](
http://code.google.com/p/googletest/
)
failures
if not. This is convenient as it leaves you with one less thing to
if not. This is convenient as it leaves you with one less thing to
worry about. That is, unless you are not sure if your mock object will
worry about. That is, unless you are not sure if your mock object will
be destoyed.
be dest
r
oyed.
How could it be that your mock object won't eventually be destroyed?
How could it be that your mock object won't eventually be destroyed?
Well, it might be created on the heap and owned by the code you are
Well, it might be created on the heap and owned by the code you are
...
...
googlemock/docs/v1_6/CookBook.md
View file @
1dde1eed
...
@@ -2212,12 +2212,12 @@ MockFoo::~MockFoo() {}
...
@@ -2212,12 +2212,12 @@ MockFoo::~MockFoo() {}
## Forcing a Verification ##
## Forcing a Verification ##
When it's being destoyed, your friendly mock object will automatically
When it's being dest
r
oyed, your friendly mock object will automatically
verify that all expectations on it have been satisfied, and will
verify that all expectations on it have been satisfied, and will
generate
[
Google Test
](
http://code.google.com/p/googletest/
)
failures
generate
[
Google Test
](
http://code.google.com/p/googletest/
)
failures
if not. This is convenient as it leaves you with one less thing to
if not. This is convenient as it leaves you with one less thing to
worry about. That is, unless you are not sure if your mock object will
worry about. That is, unless you are not sure if your mock object will
be destoyed.
be dest
r
oyed.
How could it be that your mock object won't eventually be destroyed?
How could it be that your mock object won't eventually be destroyed?
Well, it might be created on the heap and owned by the code you are
Well, it might be created on the heap and owned by the code you are
...
...
googlemock/docs/v1_7/CookBook.md
View file @
1dde1eed
...
@@ -2240,12 +2240,12 @@ MockFoo::~MockFoo() {}
...
@@ -2240,12 +2240,12 @@ MockFoo::~MockFoo() {}
## Forcing a Verification ##
## Forcing a Verification ##
When it's being destoyed, your friendly mock object will automatically
When it's being dest
r
oyed, your friendly mock object will automatically
verify that all expectations on it have been satisfied, and will
verify that all expectations on it have been satisfied, and will
generate
[
Google Test
](
http://code.google.com/p/googletest/
)
failures
generate
[
Google Test
](
http://code.google.com/p/googletest/
)
failures
if not. This is convenient as it leaves you with one less thing to
if not. This is convenient as it leaves you with one less thing to
worry about. That is, unless you are not sure if your mock object will
worry about. That is, unless you are not sure if your mock object will
be destoyed.
be dest
r
oyed.
How could it be that your mock object won't eventually be destroyed?
How could it be that your mock object won't eventually be destroyed?
Well, it might be created on the heap and owned by the code you are
Well, it might be created on the heap and owned by the code you are
...
...
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