- 01 Jul, 2022 1 commit
-
-
Alexander Nikforov authored
-
- 27 Jun, 2022 2 commits
-
-
Abseil Team authored
PiperOrigin-RevId: 457550818 Change-Id: I9046801b64ce4581d742d650451332fd56489632
-
assafpr authored
-
- 01 Jun, 2022 1 commit
-
-
Derek Mauro authored
Some Mock constructors insert the pointer to the Mock itself into a global registry. Since GCC cannot see how the pointer is used (only as an identifier), it cannot tell that the object doesn't need to be initialized at that point at all. Work around this by using uintptr_t instead. PiperOrigin-RevId: 452380347 Change-Id: Ia5a493057ed90719de1d0efab71de9a8a08ddf8b
-
- 26 May, 2022 1 commit
-
-
Aaron Jacobs authored
In order to make the diff more readable in an upcoming commit that requires the method to be templated on the action's result type. PiperOrigin-RevId: 451157029 Change-Id: I57beb7544efccd0459efb3a1f039ea45cd7c7602
-
- 17 May, 2022 1 commit
-
-
Dino Radakovic authored
Fixes #3832 PiperOrigin-RevId: 449158813 Change-Id: Ibe85239ab1f123097b2c1b61616c9d611e5b90d0
-
- 22 Apr, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 443715444 Change-Id: I3ffd54b63d2728ae4a668ee7875c8c3c8188087c
-
- 15 Mar, 2022 1 commit
-
-
Abseil Team authored
A few tests are examining code locations and looking af the resulting line numbers to verify that GoogleTest shows those to users correctly. Some of those locations change when clang-format is run. For those locations, I've wrapped portions in: // clang-format off ... // clang-format on There may be other locations that are currently not tickled by running clang-format. PiperOrigin-RevId: 434844712 Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
-
- 27 Dec, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 418497526 Change-Id: Ie53c3c0810c10a32cbcb941e3ca1ee8fb1ddd9f9
-
- 16 Nov, 2021 1 commit
-
-
Krystian Kuzniarek authored
-
- 15 Nov, 2021 1 commit
-
-
Taylor Cramer authored
The previous error message could be misinterpreted to mean that `Times` could not be used in combination with `WillRepeatedly`, when in fact the call to `Times` just needs to happen *first*. PiperOrigin-RevId: 410070405 Change-Id: I747d34a4334cf2e56d589dcad3a08a8f322d77c8
-
- 15 Sep, 2021 2 commits
-
-
Abseil Team authored
gmock-internal-utils.cc: Use `static_cast` instead of implicit conversion between signed and unsigned types Fixes #3550 PiperOrigin-RevId: 396826071
-
Abseil Team authored
Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros. PiperOrigin-RevId: 396649214
-
- 06 Aug, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 389163232
-
- 04 Aug, 2021 1 commit
-
-
Abseil Team authored
Introduce a new matcher for unescaping Base-64 strings to gmock. PiperOrigin-RevId: 388471904
-
- 18 Feb, 2021 1 commit
-
-
Abseil Team authored
Update stale links to `gmock_cook_book.md`. I'm a new googletest user and found these links broken when reading the documentation. PiperOrigin-RevId: 357786392
-
- 07 Aug, 2020 1 commit
-
-
Abseil Team authored
Fixing exception-safety bug in googletest. Previously, if an exception was thrown during a call to a mock that would have triggered an error, the error was discarded. Fixes #2890 PiperOrigin-RevId: 325017806
-
- 09 Jul, 2020 2 commits
-
-
Abseil Team authored
Cleanup: Error message grammar fix. PiperOrigin-RevId: 319992912
-
Abseil Team authored
Fix mismatch between `int` and `int32_t` in the parse function. On some platforms, those are different types. PiperOrigin-RevId: 319991862
-
- 24 Apr, 2020 1 commit
-
-
Arthur O'Dwyer authored
None of these are strictly needed for correctness. A large number of them (maybe all of them?) trigger `-Wdeprecated` warnings on Clang trunk as soon as you try to use the implicitly defaulted (but deprecated) copy constructor of a class that has deleted its copy assignment operator. By declaring a deleted copy assignment operator, the old code also caused the move constructor and move assignment operator to be non-declared. This means that the old code never got move semantics -- "move-construction" would simply call the defaulted (but deprecated) copy constructor instead. With the new code, "move-construction" calls the defaulted move constructor, which I believe is what we want to happen. So this is a runtime performance optimization. Unfortunately we can't yet physically remove the definitions of these macros from gtest-port.h, because they are being used by other code internally at Google (according to zhangxy988). But no new uses should be added going forward.
-
- 07 Feb, 2020 1 commit
-
-
Abseil Team authored
Get rid of gmock-generated-matchers.h and gmock-generated-matchers.h.pump. Stop using pump for MATCHER* macroses generation. PiperOrigin-RevId: 293878808
-
- 27 Nov, 2019 2 commits
-
-
Krystian Kuzniarek authored
This reverts commit 298a40f0.
-
Krystian Kuzniarek authored
This reverts commit a909becd.
-
- 22 Nov, 2019 2 commits
-
-
Krystian Kuzniarek authored
-
Krystian Kuzniarek authored
-
- 11 Oct, 2019 2 commits
-
-
Chris Johnson authored
Added various conditional compliations for ESP8266 to stub out missing functionality.
-
Chris Johnson authored
Added support for ESP8266 Arduino platform. Refactored Arduino defines to use the GTEST_OS_* model.
-
- 07 Oct, 2019 1 commit
-
-
Joshua Cannon authored
-
- 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.
-
- 30 Jul, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 16 Jul, 2019 2 commits
-
-
misterg authored
Fix documentation links PiperOrigin-RevId: 258389329
-
Abseil Team authored
Update a broken link in a comment. PiperOrigin-RevId: 257493975
-
- 19 Jun, 2019 1 commit
-
-
Gennadiy Civil authored
Renaming doc files to make the file names more palatable and in preparation for including documentation in sync process
-
- 07 Jan, 2019 1 commit
-
-
Chris authored
Added setup()/loop() functions back to *_main.cc files to support compiling in CI. Future features could enable this for the end user.
-
- 03 Jan, 2019 2 commits
-
-
misterg authored
TestCase->TestSuite refactoring PiperOrigin-RevId: 227702164
-
Chris authored
Improved flexibility by removing the Arduino entry points in favor of manual calls to setup/loop that the user can call from their entry point. This is the more common use case for Arudino. Also added the gtest/gmock_main files to the PlatformIO ignore list since we are not supporting that feature.
-
- 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
-
- 13 Dec, 2018 1 commit
-
-
misterg authored
Internal Change PiperOrigin-RevId: 225231727
-
- 05 Dec, 2018 1 commit
-
-
Chris Johnson authored
-