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
d225acc9
Commit
d225acc9
authored
Mar 16, 2016
by
Billy Donahue
Browse files
Merge pull request #741 from mbinna/patch-1
Fix whitespace in paragraph
parents
72416fab
20714749
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
googletest/docs/AdvancedGuide.md
googletest/docs/AdvancedGuide.md
+4
-5
No files found.
googletest/docs/AdvancedGuide.md
View file @
d225acc9
...
...
@@ -1571,15 +1571,14 @@ For technical reasons, there are some caveats:
1.
_statement_ in
`EXPECT_FATAL_FAILURE()`
cannot reference local non-static variables or non-static members of
`this`
object.
1.
_statement_ in
`EXPECT_FATAL_FAILURE()`
cannot return a value.
_Note:_
Google Test is designed with threads in mind.
Once the
_Note:_
Google Test is designed with threads in mind. Once the
synchronization primitives in
`"gtest/internal/gtest-port.h"`
have
been implemented, Google Test will become thread-safe, meaning that
you can then use assertions in multiple threads concurrently. Before
that, however, Google Test only supports single-threaded usage. Once
you can then use assertions in multiple threads concurrently. Before
that, however, Google Test only supports single-threaded usage. Once
thread-safe,
`EXPECT_FATAL_FAILURE()`
and
`EXPECT_NONFATAL_FAILURE()`
will capture failures in the current thread only. If _statement_
creates new threads, failures in these threads will be ignored.
If
creates new threads, failures in these threads will be ignored. If
you want to capture failures from all threads instead, you should use
the following macros:
...
...
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