- 22 Oct, 2019 1 commit
-
-
Abseil Team authored
Remove bool_constant in favor of std::integral_constant<bool, ...>; The one non-trivial use of bool_constant has been changed to have significantly fewer template specializations. PiperOrigin-RevId: 275842490
-
- 11 Oct, 2019 1 commit
-
-
Robert Luberda authored
Mark more functions with "override" keyword, just like it was done in commit 2460f971. This should prevent compiler from complaining while compiling both user code, and the googletest code itself with the -Wsuggest-override option turned on; with the exception of: * calls to new MOCK_METHOD() in test/gmock-function-mocker_test.cc * calls to old MOCK_METHODx()/MOCK_CONST_METHODx() in other unit test files. Closes #2493
-
- 25 Sep, 2019 1 commit
-
-
Peter Barker authored
This helps corrects builds with -Werror=suggest-overrides
-
- 16 Sep, 2019 1 commit
-
-
kuzkry authored
Merge 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd into fb49e6c1 Closes #2407 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2407 from kuzkry:StaticAssertTypeEq 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd PiperOrigin-RevId: 269255328
-
- 11 Sep, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 10 Sep, 2019 2 commits
-
-
Krystian Kuzniarek authored
-
Krystian Kuzniarek authored
-
- 23 Aug, 2019 1 commit
-
-
kuzkry authored
Merge b8ca465e73ac0954a0c9eec2a84bdd8913d5763b into 90a443f9 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
-
- 20 Aug, 2019 1 commit
-
-
Krystian Kuzniarek authored
Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter.
-
- 14 Aug, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 13 Aug, 2019 2 commits
-
-
Krystian Kuzniarek authored
-
Krystian Kuzniarek authored
-
- 30 Jul, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 12 Apr, 2019 1 commit
-
-
Calvin Hill authored
Fixes a minor ordering issue when defining the platform macro. Also fixes a minor typo: 'Max OS X' -> 'Mac OS X'.
-
- 11 Apr, 2019 1 commit
-
-
Calvin Hill authored
This allows googletest to recognize the Haiku operating system when running tests in other projects.
-
- 01 Apr, 2019 2 commits
-
-
Abseil Team authored
Add HWASan annotations. These mirror existing ASan annotations. HWASan uses memory (address) tagging to detect memory errors: https://clang.llvm.org/docs/HardwareAssistedAddressSanitizerDesign.html It inserts a random tag in the MSB of heap and stack allocation addresses. This tag dominates pointer comparison in StackGrowsDown(), making the result non-deterministic, and entirely unrelated to the actual stack growth direction. The function attribute disables this behavior. The annotations in gtest-printers are there because the printers are used to basically dump memory. The sanitizers may have ideas why this memory should not be accessed, and that is counter productive. In particular, the test may access only part of an array, but in case of a test failure gtest will dump the entire array which may contain uninitialized bytes - that's what SANITIZE_MEMORY annotation is for. There are similar reasons for ADDRESS and THREAD annotations. HWADDRESS in its current implementation can not cause issues there, I believe, but it falls under the same umbrella of tools whose checking should not apply to test printers because it is not the code under test. PiperOrigin-RevId: 241379822
-
Abseil Team authored
Remove support for "global" ::string and ::wstring types. This support existed for legacy codebases that existed from before namespaces where a thing. It is no longer necessary. PiperOrigin-RevId: 241335738
-
- 01 Mar, 2019 1 commit
-
-
Abseil Team authored
Let embedders customize GTEST_INTERNAL_DEPRECATED(). GTEST_INTERNAL_DEPRECATED is currently used to nudge googletest users to migrate off old TEST_CASE macros to the new TEST_SUITE macros. This move is non-trivial for Chromium (see https://crbug.com/925652), and might be difficult for other big projects with many dependencies. This CL facilitates moving off of deprecated APIs by making it possible for an embedder to define GTEST_INTERNAL_DEPRECATED() in gtest/internal/custom/gtest-port.h. Example usage: 1) #define GTEST_INTERNAL_DEPRECATED() to nothing, to disable deprecation warnings while migrating off googletest's deprecated APIs. This can be preferable to having to disable all deprecation warnings (-Wno-error=deprecated or -Wno-deprecated-declarations). 2) #define GTEST_INTERNAL_DEPRECATED() for an unsupported compiler. PiperOrigin-RevId: 236171043
-
- 13 Feb, 2019 1 commit
-
-
Enji Cooper authored
As noted in the patch description: * Add DragonFly and GNU/kFreeBSD support. * Implement GetThreadCount() for BSDs. 1. https://svnweb.freebsd.org/ports/head/devel/googletest/files/patch-bsd-defines?revision=488934 Signed-off-by:
Enji Cooper <yaneurabeya@gmail.com>
-
- 04 Feb, 2019 1 commit
-
-
misterg authored
Mark legacy _TEST_CASE_ macros as deprecated PiperOrigin-RevId: 232303251
-
- 03 Jan, 2019 1 commit
-
-
misterg authored
TestCase->TestSuite refactoring PiperOrigin-RevId: 227702164
-
- 02 Jan, 2019 2 commits
-
-
misterg authored
Internal Change PiperOrigin-RevId: 227575279
-
Abseil Team authored
Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
-
- 20 Dec, 2018 1 commit
-
-
Abseil Team authored
Unifdef c++11-related macros from googletest now that it requires C++11. PiperOrigin-RevId: 225905601
-
- 13 Dec, 2018 1 commit
-
-
misterg authored
Internal Change PiperOrigin-RevId: 225231727
-
- 04 Dec, 2018 1 commit
-
-
Gregory Pakosz authored
-
- 03 Dec, 2018 1 commit
-
-
Abseil Team authored
Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
-
- 20 Nov, 2018 1 commit
-
-
misterg authored
Internal Change PiperOrigin-RevId: 222123106
-
- 10 Nov, 2018 3 commits
-
-
Robin Lindén authored
-
Robin Lindén authored
-
Robin Lindén authored
-
- 31 Oct, 2018 1 commit
-
-
misterg authored
Remove scoped_ptr replace with std::unique_ptr PiperOrigin-RevId: 219291284
-
- 28 Oct, 2018 1 commit
-
-
Vadim Barkov authored
-
- 18 Oct, 2018 1 commit
-
-
Abseil Team authored
C++11 code cleanup. PiperOrigin-RevId: 217364243
-
- 11 Oct, 2018 1 commit
-
-
KO Myung-Hun authored
Closes #1899 PiperOrigin-RevId: 216719020
-
- 09 Oct, 2018 2 commits
-
-
Abseil Team authored
Remove all mention of TR1 tuple and our own implementation of tuple. PiperOrigin-RevId: 216395043
-
Abseil Team authored
PiperOrigin-RevId: 216383938
-
- 08 Oct, 2018 1 commit
-
-
misterg authored
PiperOrigin-RevId: 216184859
-
- 05 Oct, 2018 1 commit
-
-
Abseil Team authored
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
-
- 16 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
And then we can merge
-