Krystian Kuzniarek
dfc3675361
fix a typo
2021-11-16 09:18:03 +01:00
Krystian Kuzniarek
1b4e47767f
fix a broken link
2021-01-15 12:04:18 +01:00
Krystian Kuzniarek
100ffc33f5
remove explicit function overloads of CmpHelper?? for BiggestInt arguments
...
Affects macros {ASSERT|EXPECT}_{EQ|NE|LE|LT|GE|GT}.
According to removed comments, these overloads were supposed to reduce
code bloat and allow anonymous enums on GCC 4.
However, the way it works on GCC 4 and the latest GCC (10.2 by now) is
that having:
template <typename T1, typename T2>
void foo(T1, T2);
using BiggestInt = long long;
void foo(BiggestInt, BiggestInt);
the template version takes precedence for almost every combination of
integral types except for two long long integers - i.e. implicit
promotion to long long is a worse match than generating a specific
template function.
Tested on GCC 4.8.1 (as GoogleTest requires C++11 and this was
the first C++11 feature-complete release of GCC),
GCC 4.8.5 (last of 4.8.x series) and the latest GCC (10.2.0).
2021-01-03 15:04:52 +01:00
Krystian Kuzniarek
82e5687373
remove a duplicated include
...
Detection of string_view type (whether it's std or Abseil)
is done in googletest/include/gtest/internal/gtest-port.h
with GTEST_INTERNAL_HAS_STRING_VIEW.
2020-06-12 11:38:56 +02:00
Krystian Kuzniarek
eb3953f805
make UniversalPrinter<std::any> support RTTI
2020-05-29 13:59:42 +02:00
Krystian Kuzniarek
843267f0f1
specialize UniversalPrinter<> for std::any (without support for RTTI)
2020-05-29 13:59:42 +02:00
Krystian Kuzniarek
95b0ea2cf5
specialize UniversalPrinter<> for std::optional
2020-05-29 13:59:42 +02:00
Krystian Kuzniarek
33b44c4b35
specialize UniversalPrinter<> for std::variant
2020-05-29 13:59:42 +02:00
Krystian Kuzniarek
acabdf65fb
remove chapters on Autotools, Meson and plain Makefiles
2020-03-24 15:37:34 +01:00
Krystian Kuzniarek
82e5767f78
remove dead code in googletest-output-test
2020-03-24 15:18:30 +01:00
Krystian Kuzniarek
c378d7eb93
remove a dead reference to the Autotools script
2020-01-29 11:42:59 +01:00
Krystian Kuzniarek
3957b8898b
Revert "remove MSVC workaround: wmain link error in the static library"
...
This reverts commit 298a40f023 .
2019-11-27 15:01:03 +01:00
Krystian Kuzniarek
967d8e05c2
Revert "unify googletest and googlemock main functions"
...
This reverts commit a909becdc5 .
2019-11-27 15:00:52 +01:00
Krystian Kuzniarek
a909becdc5
unify googletest and googlemock main functions
2019-11-22 17:45:04 +01:00
Krystian Kuzniarek
298a40f023
remove MSVC workaround: wmain link error in the static library
2019-11-22 17:45:04 +01:00
Krystian Kuzniarek
bbbc5d8a4b
remove Nokia's Symbian compiler workaround: SafeMatcherCastImpl
2019-11-22 17:25:34 +01:00
Krystian Kuzniarek
e0c80b0a6e
consistency fix for SafeMatcherCastImpl member functions
2019-11-22 17:25:34 +01:00
Krystian Kuzniarek
6748df1eab
remove MSVC workaround: cease const dropping
2019-11-22 17:17:41 +01:00
Krystian Kuzniarek
ecefcbd4aa
remove MSVC workaround: warning 4355
2019-11-22 17:15:23 +01:00
Krystian Kuzniarek
a5136dbdd2
remove MSVC workaround: error C2665
2019-11-22 17:12:11 +01:00
Krystian Kuzniarek
21d276b5c4
remove MSVC workaround: accessing namespace scope from within nested classes
2019-11-22 17:10:39 +01:00
Krystian Kuzniarek
a91e4e73b7
remove stale comments about older GCC versions
2019-11-22 17:09:52 +01:00
Krystian Kuzniarek
e1dd49835e
remove g++ 2.95.0 workaround: no space after first comma in macros
2019-11-22 17:09:03 +01:00
Krystian Kuzniarek
2241be0c3f
remove g++ 3.3 workaround: using on operator<<
2019-11-22 17:08:14 +01:00
Krystian Kuzniarek
dee725b053
add documentation for the premature-exit-file protocol
2019-11-11 17:17:52 +01:00
Krystian Kuzniarek
f79ac2ce0e
change incorrect comments
2019-11-05 06:55:32 +01:00
Krystian Kuzniarek
f9665846e4
update gen_gtest_pred_impl.py
...
After 7bd4a7f3 gtest_pred_impl_unittest.cc used to be newer than
its template.
2019-11-05 06:53:20 +01:00
Krystian Kuzniarek
f658561ef2
fix a typo
2019-11-02 01:18:21 +01:00
Krystian Kuzniarek
442f45b376
pump.py: add support for Python 3
2019-11-02 01:13:24 +01:00
Krystian Kuzniarek
523ad489ef
update pump_manual.md
2019-11-02 01:08:24 +01:00
Krystian Kuzniarek
1a49b67aeb
update CONTRIBUTORS
2019-10-25 17:03:39 +02:00
Krystian Kuzniarek
002905f29f
move the pumping script to googlemock
2019-10-25 17:03:39 +02:00
Krystian Kuzniarek
a7083564d5
remove gtest-type-util.h.pump
2019-10-25 17:03:39 +02:00
Krystian Kuzniarek
e3a9a567d8
replace autogenerated TemplatesX classes by variadic ones
2019-10-25 17:01:50 +02:00
Krystian Kuzniarek
eed64b5fc6
replace autogenerated TypesX classes by variadic ones
2019-10-25 16:58:35 +02:00
Krystian Kuzniarek
6e87238c9b
remove BiggestInt
2019-10-24 08:31:26 +02:00
Krystian Kuzniarek
9b9700247d
clean-up broken paths for PlatformIO
2019-10-11 06:37:46 +02:00
Krystian Kuzniarek
e0d16aa336
remove GTEST_ARRAY_SIZE_
...
This macro didn't work when an array was passed to a function by pointer,
in which case the information about its size was lost.
Better alternatives are:
* std::extent<T>::value (compile-time)
* std::array<T, N>::size() (compile-time)
* std::distance(std::begin(array), std::end(array)) (run-time)
2019-09-23 19:31:06 +02:00
Krystian Kuzniarek
90a8ab70a1
mention the existing support for wide strings in string matchers
2019-09-23 19:16:31 +02:00
Krystian Kuzniarek
3339b97c6a
square away the stuff that hasn't been merged in a manual review
...
This fixes up f2fb48c3 (a manual merge) that has abandoned some things
from PR #2407 .
2019-09-16 19:22:10 +02:00
Krystian Kuzniarek
7c2bd3af98
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
f2fb48c3b3
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
Krystian Kuzniarek
c96da8fea8
change usings
2019-09-12 18:21:31 +02:00
Krystian Kuzniarek
0cd3fbc8ab
change includes in gtest-port.h
2019-09-11 10:45:51 +02:00
Krystian Kuzniarek
838ea5cea3
remove GTEST_HAS_STD_STRING
2019-09-10 14:49:06 +02:00
Krystian Kuzniarek
bafa644c18
remove a dead function
2019-09-10 14:14:01 +02:00
kuzkry
ab8f346b07
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
Krystian Kuzniarek
38ce18e8e6
post-review to db1b7399 ( #2396 )
2019-08-24 12:08:13 +02:00
kuzkry
db1b739943
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
Krystian Kuzniarek
f8e9b3767f
remove references to autotools and combine gTest&gMock sections
2019-08-22 20:24:32 +02:00
Krystian Kuzniarek
7bd4a7f3e9
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
Krystian Kuzniarek
44de869783
remove a dead metafunction
2019-08-16 07:04:49 +02:00
Krystian Kuzniarek
6a015ca1cb
reuse IndexSequence from googletest
2019-08-14 14:21:32 +02:00
Krystian Kuzniarek
ec49fbca4c
remove custom implementations of std::is_same
2019-08-14 14:00:44 +02:00
Krystian Kuzniarek
da76d01b98
remove a custom implementation of std::is_reference
2019-08-14 13:33:13 +02:00
Krystian Kuzniarek
364839ab14
remove a custom implementation of std::remove_const
2019-08-14 00:34:04 +02:00
Krystian Kuzniarek
e2c06aa249
remove a custom implementation of std::iterator_traits
2019-08-14 00:18:54 +02:00
Krystian Kuzniarek
11471da793
remove a custom implementation of std::enable_if
2019-08-14 00:09:53 +02:00
Krystian Kuzniarek
2c2c9e3357
remove a custom implementation of std::add_lvalue_reference
2019-08-13 22:22:17 +02:00
Krystian Kuzniarek
871dcd1ff5
remove an outdated comment
2019-08-11 13:10:47 +02:00
Krystian Kuzniarek
d51cce4fc7
remove a dead metafunction
2019-08-08 00:36:31 +02:00
Krystian Kuzniarek
6aa98d5cdc
fix an improperly generated table
2019-08-07 00:38:37 +02:00
Krystian Kuzniarek
d0cb77dcce
fix broken links
2019-08-06 20:20:50 +02:00
Krystian Kuzniarek
637b0411fa
remove an excessive mutable type specifier
...
MockFunction's private member cannot be reached from outside and all its
non-static member functions are not const.
2019-08-01 11:33:36 +02:00
Krystian Kuzniarek
96c851d051
adjust a comment to the similar section in advanced.md
...
in addition, fix typo of use -> us
2019-07-31 19:40:10 +02:00
Krystian Kuzniarek
287b37f23f
update pre-C++11 paragraphs
2019-07-31 08:17:32 +02:00
Krystian Kuzniarek
bf6df7eaee
fix typos
2019-07-30 12:52:27 +02:00
Krystian Kuzniarek
d384b8831f
fix numbering of ordered lists in Markdown
2019-07-30 11:16:21 +02:00
Krystian Kuzniarek
28e1dde259
remove trailing whitespaces
2019-07-30 10:59:43 +02:00
Krystian Kuzniarek
2fa7be9326
explicitly show overriding to align examples to their comments
2019-07-18 17:07:53 +02:00
Krystian Kuzniarek
cc49f5b27a
document a missing parent class
2019-07-18 17:06:22 +02:00
Krystian Kuzniarek
b0568dcb4a
fix a broken link
...
ee3aa83117 added a broken link
which results in 404. The broken part is reference to a
nonexistent file "CheatSheet.md" instead of "cheet_sheet.md".
2019-07-15 20:15:20 +02:00
Krystian Kuzniarek
f81dbd6ce8
add missing references to DesignDoc and KnownIssues
2019-07-13 09:16:52 +02:00
Krystian Kuzniarek
b138afde15
rename and apply snake_case on KnownIssues.md
2019-07-13 08:16:41 +02:00
Krystian Kuzniarek
1d5b7cc1e2
rename and apply snake_case on FrequentlyAskedQuestions.md
2019-07-13 08:15:20 +02:00
Krystian Kuzniarek
92d92f2f55
rename and apply snake_case on ForDummies.md
2019-07-13 08:09:11 +02:00
Krystian Kuzniarek
6078089ef8
rename and apply snake_case on Documentation.md
2019-07-13 08:09:11 +02:00
Krystian Kuzniarek
382cdf9162
rename and apply snake_case on DesignDoc.md
2019-07-13 07:59:14 +02:00
Krystian Kuzniarek
275bbc7884
rename and apply snake_case on CheatSheet.md
2019-07-13 07:47:14 +02:00