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
7a7e2bba
Commit
7a7e2bba
authored
Jan 09, 2019
by
Abseil Team
Committed by
Shaindel Schwartz
Jan 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
...text exposed to GitHub repo
https://www.github.com/google/googletest
PiperOrigin-RevId: 228573333
parent
50f1a779
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
gtest-matchers.h
googletest/include/gtest/gtest-matchers.h
+5
-8
No files found.
googletest/include/gtest/gtest-matchers.h
View file @
7a7e2bba
...
...
@@ -296,6 +296,11 @@ class MatcherBase {
!
internal
::
IsSame
<
U
,
const
U
&>::
value
>::
type
*
=
nullptr
)
:
impl_
(
new
internal
::
MatcherInterfaceAdapter
<
U
>
(
impl
))
{}
MatcherBase
(
const
MatcherBase
&
)
=
default
;
MatcherBase
&
operator
=
(
const
MatcherBase
&
)
=
default
;
MatcherBase
(
MatcherBase
&&
)
=
default
;
MatcherBase
&
operator
=
(
MatcherBase
&&
)
=
default
;
virtual
~
MatcherBase
()
{}
private
:
...
...
@@ -545,13 +550,9 @@ class PolymorphicMatcher {
private
:
const
Impl
impl_
;
GTEST_DISALLOW_ASSIGN_
(
MonomorphicImpl
);
};
Impl
impl_
;
GTEST_DISALLOW_ASSIGN_
(
PolymorphicMatcher
);
};
// Creates a matcher from its implementation. This is easier to use
...
...
@@ -618,10 +619,8 @@ class ComparisonBase {
private
:
Rhs
rhs_
;
GTEST_DISALLOW_ASSIGN_
(
Impl
);
};
Rhs
rhs_
;
GTEST_DISALLOW_ASSIGN_
(
ComparisonBase
);
};
template
<
typename
Rhs
>
...
...
@@ -724,8 +723,6 @@ class MatchesRegexMatcher {
private
:
const
std
::
shared_ptr
<
const
RE
>
regex_
;
const
bool
full_match_
;
GTEST_DISALLOW_ASSIGN_
(
MatchesRegexMatcher
);
};
}
// namespace internal
...
...
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