- 12 Jul, 2022 2 commits
-
-
Andrei Polushin authored
CMake policy CMP0094 controls a lookup strategy used to find a Python executable: * CMP0094=OLD selects a Python executable with a higher version. * CMP0094=NEW selects a Python executable found earlier in PATH. NEW behavior is critical in presence of a Python virtual environment established and activated, i.e. added to the PATH variable. In case GoogleTest is embedded into a larger project, the result of `find_package(Python)` affects the whole build, not only GoogleTest component itself.
-
Copybara-Service authored
PiperOrigin-RevId: 460455562 Change-Id: I29efc09887651d8734586703fe0691482ba4c981
-
- 11 Jul, 2022 4 commits
-
-
Copybara-Service authored
PiperOrigin-RevId: 460272863 Change-Id: I139e31faca4dab6f697e0cd1b3491f791fda5f8a
-
Derek Mauro authored
PiperOrigin-RevId: 460242683 Change-Id: I182a2e082d3a7e38fd3686e9e7af200ba0f954e0
-
Copybara-Service authored
PiperOrigin-RevId: 460222898 Change-Id: I652b8058aa98b56d849c5ab1399f75e531dcc959
-
Copybara-Service authored
PiperOrigin-RevId: 460222266 Change-Id: I2fbeac0b333ca16639f172ca1f23794ea9ddc2ad
-
- 08 Jul, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 459761499 Change-Id: Ifb4b8b9f2dc598f3f4afc66a9efc403e001e0262
-
- 07 Jul, 2022 1 commit
-
-
Chris Kennelly authored
PiperOrigin-RevId: 459529190 Change-Id: I6b29693000023b3562990742f27a98cc279b6452
-
- 01 Jul, 2022 2 commits
-
-
Alexander Nikforov authored
-
Derek Mauro authored
with -std=c++14 when testing with GCC 5. PiperOrigin-RevId: 458502826 Change-Id: I83637a222b5c0a54e55d93ce7fdbc878af27b250
-
- 30 Jun, 2022 2 commits
-
-
Derek Mauro authored
v1.12.x is the last branch to support C++11 Future releases will require at least C++14 PiperOrigin-RevId: 458250106 Change-Id: Ibee2248649ff3c13daaa179135887848bf730f3f
-
Derek Mauro authored
Note that this is 1.12.1 as there will be a patch release to fix this PiperOrigin-RevId: 458216994 Change-Id: Ibca52a8db22ed06cb1a1adc4832be67fce69459a
-
- 29 Jun, 2022 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 458018249 Change-Id: I7df8f75ef5b5a6478e7301f959c221810ff9f0b3
-
- 27 Jun, 2022 2 commits
-
-
Abseil Team authored
PiperOrigin-RevId: 457550818 Change-Id: I9046801b64ce4581d742d650451332fd56489632
-
Copybara-Service authored
PiperOrigin-RevId: 457479731 Change-Id: Ia883186c01886196f23c3957381566eab3d76c5f
-
- 25 Jun, 2022 1 commit
-
-
Julian Arkenau authored
-
- 23 Jun, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 456833286 Change-Id: Iefcc6a71f5da9bb710f112b668cddcd1683a10ae
-
- 22 Jun, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 456532035 Change-Id: I60fa4d4e7827516d317ce893377d1f72e49c6a2f
-
- 21 Jun, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 456323043 Change-Id: I86e3d52b72b51c2d4e96f536daa7f84a52c598f5
-
- 16 Jun, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 455452553 Change-Id: I1dc3772ae61daf6d2d39484a0b1aad7eb0134525
-
- 14 Jun, 2022 1 commit
-
-
Copybara-Service authored
PiperOrigin-RevId: 454940948 Change-Id: Ic87dadfe9c6fc8882b0f425aa2056f0cc7a90b55
-
- 13 Jun, 2022 2 commits
-
-
Abseil Team authored
PiperOrigin-RevId: 454677195 Change-Id: I7a1419e22d617db41a5c310bc6f6158ba4cec1ab
-
Copybara-Service authored
PiperOrigin-RevId: 454616721 Change-Id: I33b5671646ec027da48cc941baf84b4ddc722e07
-
- 11 Jun, 2022 1 commit
-
-
Gaspard Petit authored
Move declaration of kStdOutFileNo and kStdErrFileno closer to where they are used to avoid having to guard for GTEST_HAS_STREAM_REDIRECTION twice
-
- 09 Jun, 2022 2 commits
-
-
Abseil Team authored
Update googletest docs to indicate that RE2 is now used for regexp implementation when building with Bazel and using Abseil. PiperOrigin-RevId: 454012698 Change-Id: I3a9df78368ffe3cb7cf3d315001125b97b1aebbe
-
Abseil Team authored
Fixes #3856 PiperOrigin-RevId: 453992227 Change-Id: I5f3330a454bdcd6b0522ebba4cdfe2c888f8e638
-
- 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
-
- 31 May, 2022 4 commits
-
-
Gaspard Petit authored
-
Abseil Team authored
PiperOrigin-RevId: 452053766 Change-Id: I9498e8809f5e66e42cfa365199a5bbc41462a533
-
Gaspard Petit authored
-
Gaspard Petit authored
-
- 30 May, 2022 3 commits
-
-
Aaron Jacobs authored
This fixes unused parameter errors under both MSVC and clang (when `-Werror=unused-parameter` is used, as reported [here](https://github.com/google/googletest/commit/9d21db9e0a60a1ea61ec19331c9bc0dd33e907b1#r74769946)). Fixes #3858 PiperOrigin-RevId: 451907906 Change-Id: Ic07da19ea6a547eb1797fbbab19cd57cc2a83fe8
-
Gaspard Petit authored
Use ShouldUseColor to set use_color instead of having a separate check for the windows mobile cases; these cases are now moved directly to `DoIsATTY`
-
Gaspard Petit authored
Fix "unused variable" warning when GTEST_HAS_STREAM_REDIRECTION is set to false in gtest-port.cc
-
- 27 May, 2022 3 commits
-
-
Aaron Jacobs authored
Do this by ripping out the "untyped perform action" machinery, which isn't necessary: we can simply template the entry point on the result type, and use RAII to avoid the need to special case void. This makes it easier to understand the code and harder to introduce type-related undefined behavior, to boot. PiperOrigin-RevId: 451493451 Change-Id: I225305f83164752ca92f2916721972eafba33168
-
elixir authored
PiperOrigin-RevId: 451439108 Change-Id: I8929df21d53cbe6c42e38653e1bb0cac72fc36f9
-
Aaron Jacobs authored
Previously this excluded callables that return non-moveable types. This is the same as the [libc++ std::is_invocable_r bug](https://github.com/llvm/llvm-project/issues/55346) fixed by [this commit](https://github.com/llvm/llvm-project/commit/c3a24882903d): it's wrong to use std::is_convertible for checking the return type, since (despite its name) that doesn't check the standard-defined notion of "implicitly convertible". Instead we must base the check on whether the source type can be used as an argument to a function that accepts the destination type. PiperOrigin-RevId: 451341205 Change-Id: I2530051312a0361ea7a2ce26993ae973c9242089
-
- 26 May, 2022 2 commits
-
-
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
-
Abseil Team authored
PiperOrigin-RevId: 451067898 Change-Id: I658ab92c4ea616736f0170ac4d1548bb15a944e2
-
- 24 May, 2022 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 450721917 Change-Id: I34d63a65b7158975abd46a9a14cded75439e7e7f
-