- 20 Apr, 2023 1 commit
-
-
Tom Hughes authored
PiperOrigin-RevId: 525850646 Change-Id: I64387f5b933beb79cd05636dca81b7a75213383e
-
- 06 Mar, 2023 1 commit
-
-
Tom Hughes authored
This is compatible with compiling with "-Wundef" (#3267). PiperOrigin-RevId: 513943378 Change-Id: I47cf5fabbb77be061c4483a0adc54511af6b191c
-
- 03 Mar, 2023 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 513770561 Change-Id: I82fbed177c6ba4e2e5b776ae3e0255c868e32e25
-
- 16 Feb, 2023 1 commit
-
-
Abseil Team authored
This CL changes the link in the ReportUninterestingCall message from .../gmock_cook_book.md#knowing-when-to-expect to .../gmock_cook_book.md#knowing-when-to-expect-useoncall. This is necessary following https://github.com/google/googletest/commit/31ff597. PiperOrigin-RevId: 510138974 Change-Id: Ic98c84b07751d27dfc95eddbe7874f76d68b456f
-
- 06 Feb, 2023 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 507527786 Change-Id: Ie5e088b1814981f6c760d7e25418a430172705ec
-
- 30 Jan, 2023 1 commit
-
-
Tom Hughes authored
Prior to this change we had a mixture of pragmas and GTEST_DISABLE_MSC_WARNINGS; this change consolidates all instances to use the macros. PiperOrigin-RevId: 505786926 Change-Id: I2be8f6304387393995081af42ed32c2ad1bba5a7
-
- 12 Dec, 2022 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 494786543 Change-Id: I7769558dd2ca046d8957bf352dc04cfb48ff7c3a
-
- 21 Oct, 2022 1 commit
-
-
Denis Hananein authored
Signed-off-by:Denis Hananein <i@zloylos.me>
-
- 20 Oct, 2022 1 commit
-
-
Denis Hananein authored
Signed-off-by:Denis Hananein <i@zloylos.me>
-
- 26 Sep, 2022 1 commit
-
-
Marat Dukhan authored
-
- 01 Jul, 2022 1 commit
-
-
Alexander Nikforov authored
-
- 27 Jun, 2022 2 commits
-
-
Abseil Team authored
PiperOrigin-RevId: 457550818 Change-Id: I9046801b64ce4581d742d650451332fd56489632
-
assafpr authored
-
- 26 Jun, 2022 1 commit
-
-
Jérôme Travert 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.
-