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
bdc29d5d
Commit
bdc29d5d
authored
Oct 16, 2019
by
Andy Soffer
Browse files
Merge pull request #2421 from kuzkry:cleanup-for-regex
PiperOrigin-RevId: 275058934
parents
4c25e2b8
90a8ab70
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
googlemock/docs/cheat_sheet.md
googlemock/docs/cheat_sheet.md
+3
-3
googlemock/test/gmock-spec-builders_test.cc
googlemock/test/gmock-spec-builders_test.cc
+1
-1
googletest/test/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