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
bdc29d5d
Commit
bdc29d5d
authored
Oct 16, 2019
by
Andy Soffer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2421 from kuzkry:cleanup-for-regex
PiperOrigin-RevId: 275058934
parents
4c25e2b8
90a8ab70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
cheat_sheet.md
googlemock/docs/cheat_sheet.md
+3
-3
gmock-spec-builders_test.cc
googlemock/test/gmock-spec-builders_test.cc
+1
-1
googletest-printers-test.cc
googletest/test/googletest-printers-test.cc
+0
-1
No files found.
googlemock/docs/cheat_sheet.md
View file @
bdc29d5d
...
@@ -325,9 +325,9 @@ The `argument` can be either a C string or a C++ string object:
...
@@ -325,9 +325,9 @@ The `argument` can be either a C string or a C++ string object:
`ContainsRegex()`
and
`MatchesRegex()`
take ownership of the
`RE`
object. They
`ContainsRegex()`
and
`MatchesRegex()`
take ownership of the
`RE`
object. They
use the regular expression syntax defined
use the regular expression syntax defined
[
here
](
../../googletest/docs/advanced.md#regular-expression-syntax
)
.
[
here
](
../../googletest/docs/advanced.md#regular-expression-syntax
)
.
All of
`StrCaseEq()`
,
`StrCaseNe()`
,
`StrEq()`
, and
`StrNe()`
work for wide strings as
these matchers, except
`ContainsRegex()`
and
`MatchesRegex()`
work for wide
well.
strings as
well.
#### Container Matchers
#### Container Matchers
...
...
googlemock/test/gmock-spec-builders_test.cc
View file @
bdc29d5d
...
@@ -69,8 +69,8 @@ using testing::AtMost;
...
@@ -69,8 +69,8 @@ using testing::AtMost;
using
testing
::
Between
;
using
testing
::
Between
;
using
testing
::
Cardinality
;
using
testing
::
Cardinality
;
using
testing
::
CardinalityInterface
;
using
testing
::
CardinalityInterface
;
using
testing
::
ContainsRegex
;
using
testing
::
Const
;
using
testing
::
Const
;
using
testing
::
ContainsRegex
;
using
testing
::
DoAll
;
using
testing
::
DoAll
;
using
testing
::
DoDefault
;
using
testing
::
DoDefault
;
using
testing
::
Eq
;
using
testing
::
Eq
;
...
...
googletest/test/googletest-printers-test.cc
View file @
bdc29d5d
...
@@ -219,7 +219,6 @@ using ::testing::PrintToString;
...
@@ -219,7 +219,6 @@ using ::testing::PrintToString;
using
::
testing
::
internal
::
FormatForComparisonFailureMessage
;
using
::
testing
::
internal
::
FormatForComparisonFailureMessage
;
using
::
testing
::
internal
::
ImplicitCast_
;
using
::
testing
::
internal
::
ImplicitCast_
;
using
::
testing
::
internal
::
NativeArray
;
using
::
testing
::
internal
::
NativeArray
;
using
::
testing
::
internal
::
RE
;
using
::
testing
::
internal
::
RelationToSourceReference
;
using
::
testing
::
internal
::
RelationToSourceReference
;
using
::
testing
::
internal
::
Strings
;
using
::
testing
::
internal
::
Strings
;
using
::
testing
::
internal
::
UniversalPrint
;
using
::
testing
::
internal
::
UniversalPrint
;
...
...
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