Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
d966d5fb
Commit
d966d5fb
authored
Aug 02, 2017
by
Gennadiy Civil
Committed by
GitHub
Aug 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #968 from nicolacavallini/link_typed_test_docs
added link to sample 6 in the documentation of typed test
parents
e2e37c94
2eaab215
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AdvancedGuide.md
googletest/docs/AdvancedGuide.md
+2
-2
No files found.
googletest/docs/AdvancedGuide.md
View file @
d966d5fb
...
@@ -1344,7 +1344,7 @@ TYPED_TEST(FooTest, DoesBlah) {
...
@@ -1344,7 +1344,7 @@ TYPED_TEST(FooTest, DoesBlah) {
TYPED_TEST(FooTest, HasPropertyA) { ... }
TYPED_TEST(FooTest, HasPropertyA) { ... }
```
```
You can see
`samples/sample6_unittest.cc`
for a complete example.
You can see
[
`samples/sample6_unittest.cc`
](
../samples/sample6_unittest.cc
)
for a complete example.
_Availability:_
Linux, Windows (requires MSVC 8.0 or above), Mac;
_Availability:_
Linux, Windows (requires MSVC 8.0 or above), Mac;
since version 1.1.0.
since version 1.1.0.
...
@@ -1551,7 +1551,7 @@ exception, you could catch the exception and assert on it. But Google
...
@@ -1551,7 +1551,7 @@ exception, you could catch the exception and assert on it. But Google
Test doesn't use exceptions, so how do we test that a piece of code
Test doesn't use exceptions, so how do we test that a piece of code
generates an expected failure?
generates an expected failure?
`"gtest/gtest-spi.h"`
contains some constructs to do this. After
`"gtest/gtest-spi.h"`
contains some constructs to do this. After
`#include`
ing this header, you can use
`#include`
ing this header, you can use
|
`EXPECT_FATAL_FAILURE(`
_statement, substring_
`);`
|
|
`EXPECT_FATAL_FAILURE(`
_statement, substring_
`);`
|
...
...
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