misterg
3b4c2f167b
Googletest export
...
Remove scoped_ptr replace with std::unique_ptr
PiperOrigin-RevId: 219291284
2018-10-30 21:20:43 -04:00
Gennadiy Civil
53bd2a5119
Merge pull request #1941 from barkovv:master
...
PiperOrigin-RevId: 219134349
2018-10-29 13:46:24 -04:00
misterg
7e9920053e
Googletest export
...
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 219129336
2018-10-29 13:46:16 -04:00
Vadim Barkov
dbe9230f64
Replaced all NULLs with nullptr in googlemock
2018-10-28 03:27:51 +03:00
Abseil Team
63ad9ec911
Googletest export
...
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 218618184
2018-10-26 14:19:59 -04:00
misterg
55c37984f7
Googletest export
...
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 218571466
2018-10-26 14:19:51 -04:00
misterg
b208478537
Remove non-variadic pre C++11 AnyOf
...
PiperOrigin-RevId: 216411381
2018-10-09 16:30:37 -04:00
Abseil Team
dd4e36663c
Unconditionally use std::tuple.
...
Remove all mention of TR1 tuple and our own implementation of tuple.
PiperOrigin-RevId: 216395043
2018-10-09 16:25:58 -04:00
misterg
f4fea9ea8c
Fixing AllOfMatches test, where it properly belongs
...
PiperOrigin-RevId: 216193701
2018-10-08 17:07:05 -04:00
misterg
a48e4d2375
Remove non-variadic pre C++11 AllOf
...
PiperOrigin-RevId: 216183352
2018-10-08 10:51:03 -04:00
Abseil Team
7a6bc673ea
Apply clang-tidy modernize-use-nullptr to googletest.
...
Now that googletest has moved to C++11, it should no longer
use NULL or 0 for the null pointer. This patch converts all
such usages to nullptr using clang-tidy.
This prevents LLVM from issuing -Wzero-as-null-pointer-constant
warnings.
PiperOrigin-RevId: 215814400
2018-10-05 12:54:14 -04:00
Abseil Team
ccce843d80
Googletest export
...
Treat default-constructed string_view same as constructed from "".
In the context of string comparison (e.g. HasSubstr, StartsWith, EndsWith,
etc.), a default-constructed string_view (nullptr) should be semantically same
as a empty string "".
PiperOrigin-RevId: 212816839
2018-09-14 11:13:48 -04:00
Abseil Team
b8dfc2efee
No longer require a functor passed to ResultOf matcher to define result_of
type.
...
This makes ResultOf more convenient to use. In particular, the matcher now accepts
lambdas.
PiperOrigin-RevId: 210118509
2018-08-27 12:22:26 -04:00
Gennadiy Civil
bdc777e251
Comments changes, no functionality changes
2018-08-14 14:04:07 -04:00
Gennadiy Civil
68683d415c
code merge
2018-07-20 11:28:58 -04:00
Gennadiy Civil
21a1dae1b5
code sync
2018-07-19 12:42:39 -04:00
Gennadiy Civil
c38120ec6f
Code sync
2018-07-18 11:51:14 -04:00
Scott Graham
7550a4c571
Fix gmock not building when -fno-rtti
...
Fixes issue #1554 . This is internal cl/195020996.
2018-05-02 11:14:39 -07:00
Gennadiy Civil
63e8124d63
merged
2018-04-25 13:16:19 -04:00
Gennadiy Civil
edaeb8bc88
merging,
2018-04-25 13:10:41 -04:00
dnsunderland
e7ef46473f
Merge branch 'master' into parameterless
2018-04-18 16:32:31 -07:00
David Sunderland
cf7b25961a
Clone of unsubmitted cr/176529515. Introduce parameterless expectations.
2018-04-18 19:28:56 -04:00
Gennadiy Civil
609802ef23
193353312
2018-04-18 10:36:12 -04:00
Gennadiy Civil
cdc2f4b725
cl/193060888
2018-04-17 19:32:15 -04:00
Gennadiy Civil
7690cb75a0
http://cl/193060888
2018-04-17 16:22:35 -04:00
Gennadiy Civil
4308455071
http://cl/193060888
2018-04-17 16:12:04 -04:00
Gennadiy Civil
b8af6195d7
msvc
2018-04-12 11:32:17 -04:00
Gennadiy Civil
acfc19b62a
revert this one
2018-04-12 10:28:02 -04:00
Gennadiy Civil
6ebe245ae7
merge, ... gmock-matchers test
2018-04-12 09:45:07 -04:00
Gennadiy Civil
dea55d0bf0
small cleanup
2018-04-12 09:12:02 -04:00
Gennadiy Civil
87494ebad5
Have to wait for this one
2018-04-05 11:59:59 -04:00
Gennadiy Civil
22aa2e3632
Have to wait for this one
2018-04-05 11:55:25 -04:00
Gennadiy Civil
0e34a61d3b
Merging matchers test
2018-04-05 11:35:20 -04:00
Gennadiy Civil
cef7e53700
Merging matchers test
2018-04-05 11:34:19 -04:00
Gennadiy Civil
ea3f268c4f
bad cut/paste
2018-04-04 15:46:04 -04:00
Gennadiy Civil
2c88d98934
More on MSVC warning C4503, decorated name length exceeded
2018-04-04 15:44:27 -04:00
Gennadiy Civil
3e9b148bc1
More on MSVC warning C4503, decorated name length exceeded
2018-04-04 15:29:05 -04:00
Gennadiy Civil
cfccfa9ca2
Address MSVC warning C4503, decorated name length exceeded, name was truncated
2018-04-04 15:07:52 -04:00
Gennadiy Civil
0452f1fbff
Fixing build break on MSVC
2018-04-04 14:48:06 -04:00
Gennadiy Civil
bd0ae14317
merging gmock matchers 1
2018-04-04 14:05:00 -04:00
Xiaoyi Zhang
fe8a4bec1b
Add matcher for std::variant.
2018-02-27 11:36:21 -05:00
Gennadiy Civil
d40efb1166
moving JoinAsTuple to internal
2018-02-12 16:42:12 -05:00
Troy Holsapple
a2866dfdf5
Fixed typos
2018-02-07 22:06:00 -08:00
David Benjamin
57561c06f0
Pass the -Wmissing-declarations warning.
...
This makes it easier to use GTest in projects that build with the
-Wmissing-declarations warning. This fixes the warning in headers and
source files, though not GTest's own tests as it is rather noisy there.
2018-01-03 14:50:22 -05:00
Arkady Shapkin
a938f25467
Fix gmock tests when std::unary_function unavailable
2017-10-25 16:04:01 +03:00
Arkadiy Shapkin
950e2805da
Fix tests with VS2015 and VS2017
2017-10-25 16:04:01 +03:00
Roman Perepelitsa
75a9eed0f5
Support ref-qualified member functions in Property().
2017-08-22 16:06:26 +02:00
Nico Weber
3ec8d72fc1
Use std::string and ::string explicitly in gtest and gmock code.
...
This merges a Google-internal change (117235625).
Original CL description:
This CL was created manually in about an hour with sed, a Python script
to find all the places unqualified 'string' was mentioned, and some help
from Emacs to add the "std::" qualifications, plus a few manual tweaks.
2017-05-15 17:53:04 -04:00
mazong1123
a51867e59b
Reformatted the Unprintable operator== code style.
2016-07-14 16:49:42 +08:00
mazong1123
0b7987a646
Fixed issue #775
2016-07-14 14:09:05 +08:00