Abseil Team
d90a748ec0
Googletest export
...
Fix the O(n^2) number of instantiations in ElemFromList.
It is now O(n). It still has O(1) instantiation depth.
PiperOrigin-RevId: 273980821
2019-10-11 07:06:56 -04:00
Krystian Kuzniarek
9d7ae3fe1b
square away the stuff that hasn't been merged in a manual review
...
This fixes up ab8f346b
(a manual merge) that has abandoned some things
from PR #2395 .
2019-09-16 19:21:37 +02:00
kuzkry
049c789e2e
Googletest export
...
Merge 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd into fb49e6c164
Closes #2407
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2407 from kuzkry:StaticAssertTypeEq 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd
PiperOrigin-RevId: 269255328
2019-09-16 11:47:35 -04:00
Shaindel Schwartz
65a44f1618
Merge pull request #2387 from kuzkry:iff
...
PiperOrigin-RevId: 268693457
2019-09-12 12:10:51 -04:00
kuzkry
1ecff5803a
Googletest export
...
Merge 7f4f58da20e1066a888d3e4bcbef541db798a605 into 90a443f9c2
Closes #2395
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2395 from kuzkry:custom-type-traits-remove_reference 7f4f58da20e1066a888d3e4bcbef541db798a605
PiperOrigin-RevId: 266189044
2019-09-06 08:00:03 -04:00
Gennadiy Civil
0938f0e432
Merge pull request #2382 from kuzkry:dead-metafunction
...
PiperOrigin-RevId: 265730482
2019-08-27 16:59:59 -04:00
kuzkry
6795c52af4
Googletest export
...
Merge b8ca465e73ac0954a0c9eec2a84bdd8913d5763b into 90a443f9c2
Closes #2396
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2396 from kuzkry:custom-type-traits-true/false_type-and-bool_constant b8ca465e73ac0954a0c9eec2a84bdd8913d5763b
PiperOrigin-RevId: 265064856
2019-08-23 16:39:13 -04:00
Xiaoyi Zhang
3bc52e3721
Merge pull request #2394 from kuzkry:custom-type-traits-duplication-of-custom-index_sequence
...
PiperOrigin-RevId: 264863984
2019-08-23 16:39:04 -04:00
Xiaoyi Zhang
7739cd2f6f
Merge pull request #2393 from kuzkry:custom-type-traits-remove_const
...
PiperOrigin-RevId: 264652890
2019-08-21 17:13:34 -04:00
Krystian Kuzniarek
bfcb28085c
restore mistakenly removed iffs in their explicit form
...
Due to confusion arisen from "iff" standing for "if and only if",
this commit uses the latter.
2019-08-20 12:14:22 +02:00
Gennadiy Civil
d686998f8b
Merge pull request #2397 from kuzkry:custom-type-traits-is_reference
...
PiperOrigin-RevId: 264193098
2019-08-19 14:20:11 -04:00
Krystian Kuzniarek
0c3c40a9e5
remove a dead metafunction
2019-08-16 07:04:49 +02:00
Abseil Team
1c2bc6e99d
Googletest export
...
Remove legacy support for signed wchar_t and unsigned wchar_t.
Clang now errors out on these types as well by default. Rather than making the
condition for these types even more complicated, just remove the tests covering
these types since they don't seem to justify the maintenance burden. We
can reasonably expect these types to work in compilers that support them
without needing specific tests for them since they are treated as standard
integral types.
PiperOrigin-RevId: 263577673
2019-08-15 17:34:34 -04:00
Krystian Kuzniarek
759200a0bc
reuse IndexSequence from googletest
2019-08-14 14:21:32 +02:00
Krystian Kuzniarek
5f93edf676
remove custom implementations of std::is_same
2019-08-14 14:00:44 +02:00
Krystian Kuzniarek
e8d3cb3c7c
remove a custom implementation of std::is_reference
2019-08-14 13:33:13 +02:00
Krystian Kuzniarek
4af3afb15f
remove a custom implementation of std::remove_const
2019-08-14 00:34:04 +02:00
Krystian Kuzniarek
eb3cc9525f
fix typos
2019-07-30 12:52:27 +02:00
Peter Levine
475c80567d
Don't allow signed/unsigned wchar_t in gcc 9 and later
2019-06-04 01:07:18 -04:00
Abseil Team
30a8ce53d8
Googletest export
...
Refactor the `Invoke` and `InvokeWithoutArgs` actions:
- Replace pump'd classes and functions with templates.
- Make the polymorphic actions be polymorphic functors instead.
- Fix Invoke(Callback*) to work with subclasses of the callbacks, instead of trying to diagnose that in gmock_doctor.
PiperOrigin-RevId: 229604112
2019-01-17 14:41:08 -05:00
Abseil Team
7958cbe199
Googletest export
...
Drop generated file gmock-generated-internal-utils.h.
PiperOrigin-RevId: 228232195
2019-01-08 11:50:56 -05:00
misterg
92feb4d617
Googletest export
...
Internal Change
PiperOrigin-RevId: 227575279
2019-01-02 16:51:40 -05:00
Abseil Team
cb1ea717e7
Googletest export
...
Remove the #ifs for old, unsupported and buggy compilers:
* old versions of GCC & MSVC
* Symbian
PiperOrigin-RevId: 227116941
2019-01-02 16:51:33 -05:00
Abseil Team
4645a8b271
Googletest export
...
Unifdef c++11-related macros from googletest now that it requires C++11.
PiperOrigin-RevId: 225905601
2018-12-20 14:09:31 -05: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
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
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
Gennadiy Civil
f0bcc9b875
Comments changes, no functionality changes.
2018-08-14 15:04:11 -04:00
Gennadiy Civil
bdc777e251
Comments changes, no functionality changes
2018-08-14 14:04:07 -04:00
Gennadiy Civil
821944fa56
Formatting changes for automatic code management
2018-07-27 11:15:08 -04:00
duxiuxing
9e02b51c70
Fix warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
2018-07-17 15:46:47 +08:00
David Sunderland
5fd3984f10
Fix friend declaration to use GTEST_API_ decl spec.
2018-04-19 01:11:50 -04:00
David Sunderland
b490cb0400
Revert useless use of GTEST_API_ on WithoutMatchers decl.
2018-04-19 01:10:22 -04:00
David Sunderland
158783e097
Add GTEST_API_ tag to WithoutMatchers class. Hopefully that fixes the problem on MSVC?
2018-04-18 20:59:49 -04:00
David Sunderland
c24086c099
Mark new GetWithoutMatchers method as part of the exported API, to address MSVC linker errors.
2018-04-18 20:25:31 -04:00
David Sunderland
cf7b25961a
Clone of unsubmitted cr/176529515. Introduce parameterless expectations.
2018-04-18 19:28:56 -04:00
Gennadiy Civil
797c6f1be1
..and this should be it
2018-04-11 10:10:24 -04:00
Gennadiy Civil
3f59eb6a59
Revert "gmock actions 2"
2018-04-09 22:10:12 -04:00
Gennadiy Civil
fb63da38e7
linkage, fixing MSVC
2018-04-06 16:43:35 -04:00
Gennadiy Civil
6573981317
warnings
2018-04-06 11:00:13 -04:00
Gennadiy Civil
1e454bdbcc
cont - 2
2018-04-06 10:52:49 -04:00
Gennadiy Civil
907d5d1a7a
cont
2018-04-06 10:43:11 -04:00
Gennadiy Civil
55451e85bb
more warnings
2018-04-06 10:35:09 -04:00
Gennadiy Civil
a603ff235a
deal with MSVC warn, cont 1
2018-04-06 10:24:49 -04:00
Gennadiy Civil
aa397015ee
Cont. deal with MCVS warnings
2018-04-06 10:15:00 -04:00
Gennadiy Civil
cb430d1205
Deal with MCVS warnings
2018-04-06 10:01:40 -04:00
Scott Graham
7c60f81b22
Try to handle unsigned wchar_t (arm) a bit better
2018-02-23 12:28:09 -08:00
Gennadiy Civil
05c81235a1
Code merges
2018-01-26 11:57:58 -05: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