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
f8519738
Commit
f8519738
authored
May 19, 2021
by
Abseil Team
Committed by
Dino Radaković
May 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Remove inapplicable example PiperOrigin-RevId: 374762004
parent
aa9b44a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
advanced.md
docs/advanced.md
+0
-11
No files found.
docs/advanced.md
View file @
f8519738
...
...
@@ -411,17 +411,6 @@ using ::testing::MatchesRegex;
EXPECT_THAT
(
bar_string
,
MatchesRegex
(
"
\\
w*
\\
d+"
));
```
If the string contains a well-formed HTML or XML document, you can check whether
its DOM tree matches an
[
XPath expression
](
http://www.w3.org/TR/xpath/#contents
)
:
```
c++
// Currently still in //template/prototemplate/testing:xpath_matcher
#include "template/prototemplate/testing/xpath_matcher.h"
using
::
prototemplate
::
testing
::
MatchesXPath
;
EXPECT_THAT
(
html_string
,
MatchesXPath
(
"//a[text()='click here']"
));
```
### Windows HRESULT assertions
These assertions test for
`HRESULT`
success or failure.
...
...
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