Gennadiy Civil
7a0680dc22
Merge pull request #1959 from robinlinden:remove-msvc-workarounds
...
PiperOrigin-RevId: 221356626
2018-11-13 21:10:42 -05:00
Robin Lindén
826656b25f
Remove workarounds for unsupported MSVC versions
2018-11-10 15:20:26 +01:00
krzysio
105579a6e4
Googletest export
...
Improve Bazel build files.
New target gtest_prod allows access to the FRIEND_TEST macro without depending on the entirety of GTest in production executables. Additionally, duplicate config_setting rules were removed and formatting was adjusted.
PiperOrigin-RevId: 220279205
2018-11-07 14:37:18 -05:00
misterg
e857f9cdd9
Googletest export
...
Remove scoped_ptr replace with std::unique_ptr
PiperOrigin-RevId: 219291284
2018-10-30 21:20:43 -04:00
Gennadiy Civil
e9085769d4
Merge pull request #1941 from barkovv:master
...
PiperOrigin-RevId: 219134349
2018-10-29 13:46:24 -04:00
misterg
80b43d900b
Googletest export
...
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 219129336
2018-10-29 13:46:16 -04:00
Vadim Barkov
3feffddd1e
Replaced all NULLs with nullptr in googlemock
2018-10-28 03:27:51 +03:00
Abseil Team
b57c703963
Googletest export
...
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 218618184
2018-10-26 14:19:59 -04:00
misterg
a50e4f05b3
Googletest export
...
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 218571466
2018-10-26 14:19:51 -04:00
Gennadiy Civil
20eaf6e3a9
Merge pull request #1911 from BrukerJWD:isnice
...
PiperOrigin-RevId: 218384341
2018-10-23 15:13:42 -04:00
Jonathan Wendeborn
0cefda7749
Removed last reference to internal::kDefault
2018-10-16 08:51:33 +02:00
BrukerJWD
8c82ba48e4
Merge branch 'master' into isnice
2018-10-16 08:37:56 +02:00
Jonathan Wendeborn
6bbf911a8d
Don't fully qualify enum member
2018-10-16 08:19:02 +02:00
Jonathan Wendeborn
67a240a107
Added Mock::IsNaggy, IsNice, and IsStrict
2018-10-16 08:07:15 +02:00
Abseil Team
bc6a4ce380
Project import generated by Copybara.
...
PiperOrigin-RevId: 216423319
2018-10-11 12:44:00 -04:00
misterg
0e71eb069a
Internal Change
...
PiperOrigin-RevId: 216417182
2018-10-11 12:43:52 -04:00
misterg
78761b58fc
Remove non-variadic pre C++11 AnyOf
...
PiperOrigin-RevId: 216411381
2018-10-09 16:30:37 -04:00
Abseil Team
7d3b73c85a
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
4ac07de8de
Fixing AllOfMatches test, where it properly belongs
...
PiperOrigin-RevId: 216193701
2018-10-08 17:07:05 -04:00
misterg
fab35920ad
Remove non-variadic pre C++11 AllOf
...
PiperOrigin-RevId: 216183352
2018-10-08 10:51:03 -04:00
Abseil Team
4bb49ed640
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
Marco Bubke
7796273056
Merge 86fe8a25eb5a6e4546f9e39cf23a5c764217bf85 into 440527a61e
...
Closes #1867
PiperOrigin-RevId: 215392714
2018-10-02 13:03:35 -04:00
Abseil Team
ffc9baeb4c
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
a0e62d9f1a
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
265efde9a5
Comments changes, no functionality changes.
2018-08-14 15:04:11 -04:00
Gennadiy Civil
a3c0dd0f4d
Comments changes, no functionality changes
2018-08-14 14:04:07 -04:00
Gennadiy Civil
5eb263569b
Update gmock_output_test.py
2018-08-09 15:24:43 -04:00
Gennadiy Civil
063a90b391
Formatting change for auto code management, no functionality changes
...
Merge branch 'master' of https://github.com/google/googletest
2018-08-09 10:51:49 -04:00
Gennadiy Civil
b78c3b8e00
small cleanup, np functional changes
2018-08-07 10:38:41 -04:00
Gennadiy Civil
24edf4e3bf
automatic code sync mgt, comment only
2018-08-06 15:40:21 -04:00
Gennadiy Civil
539ee4bc54
Formatting changes and upstreaming one test
2018-08-01 11:07:22 -04:00
Gennadiy Civil
ed1edf641d
Formatting changes, code sync
2018-07-25 10:24:13 -04:00
Gennadiy Civil
a02af2f689
code merge
2018-07-20 11:28:58 -04:00
Gennadiy Civil
0c17888bcf
code sync
2018-07-19 12:42:39 -04:00
Gennadiy Civil
3530ab9e43
Code sync
2018-07-18 11:51:14 -04:00
Gennadiy Civil
8d07cfd053
Code sync, mostly formatting and removing outdates
2018-07-18 11:30:36 -04:00
Adrian Moran
cbd07191f4
Put ifdef guard after the includes.
...
Signed-off-by: Adrian Moran <amoran@ikerlan.es>
2018-07-13 08:53:03 +02:00
Adrian Moran
0acdf79642
Avoid full test in no exceptions are enabled.
...
Signed-off-by: Adrian Moran <amoran@ikerlan.es>
2018-07-12 15:10:08 +02:00
Adrian Moran
93bfdde0ee
Fix issue #1654 .
...
Signed-off-by: Adrian Moran <amoran@ikerlan.es>
2018-07-11 14:59:01 +02:00
Gennadiy Civil
8977af0ecf
formatting changes
2018-05-23 11:49:11 -04:00
Gennadiy Civil
28c91e2cea
Formatting changes
2018-05-23 11:03:31 -04:00
Scott Graham
a9653c401e
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
9af3793103
merged
2018-04-25 13:16:19 -04:00
Gennadiy Civil
b539167cf0
merging,
2018-04-25 13:10:41 -04:00
dnsunderland
08cb06b197
Merge branch 'master' into parameterless
2018-04-18 16:32:31 -07:00
David Sunderland
f437f8ca0d
Clone of unsubmitted cr/176529515. Introduce parameterless expectations.
2018-04-18 19:28:56 -04:00
Gennadiy Civil
4707c0ffd4
193353312
2018-04-18 10:36:12 -04:00
Gennadiy Civil
80d6e26a9c
cl/193060888
2018-04-17 19:32:15 -04:00
Gennadiy Civil
5dccf6b79e
http://cl/193060888
2018-04-17 16:22:35 -04:00
Gennadiy Civil
dff32aff97
http://cl/193060888
2018-04-17 16:12:04 -04:00