- 27 Mar, 2022 1 commit
-
-
Alecto Irene Perez authored
Signed-off-by:Alecto Irene Perez <perez.cs@pm.me>
-
- 23 Mar, 2022 2 commits
-
-
Abseil Team authored
PiperOrigin-RevId: 436839469 Change-Id: I2bb90dce524c16bcc31569bb98772dcc62d08fbf
-
Mattias Ellert authored
The one large test does not link in limited memory environments Closes #3653 PiperOrigin-RevId: 436753193 Change-Id: Idd59b6509994fc642147b88279ee791cd1d7bdd0
-
- 22 Mar, 2022 2 commits
-
-
Copybara-Service authored
PiperOrigin-RevId: 436579789 Change-Id: I19faae341027efba83f1c2b3839636fc95780fc7
-
Abseil Team authored
Currently, the "[ DISABLED ]" banner is printed for every test in a suite. When iterating on a single test gtest_filter this is very noisy. PiperOrigin-RevId: 436489088 Change-Id: If337087a7a0986b073fabf2b0a55d26485eb5c37
-
- 21 Mar, 2022 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 436268062 Change-Id: I3161b36121f78acf920d66fe121b2f1d5e5707b9
-
- 18 Mar, 2022 2 commits
-
-
Brad Messer authored
-
Brad Messer authored
-
- 15 Mar, 2022 2 commits
-
-
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
-
Copybara-Service authored
PiperOrigin-RevId: 434738675 Change-Id: I7c8de4004bac6b750674d19e3e79c0695a42652e
-
- 14 Mar, 2022 1 commit
-
-
Dino Radakovic authored
PiperOrigin-RevId: 434464892 Change-Id: Iaa2277f26d0049b3d792e87f64679774a28205c6
-
- 08 Mar, 2022 6 commits
-
-
Abseil Team authored
This catches when a client creates an action and discards it, thinking that the action has actually been applied to something. This will help people who make the mistake of defining, for example, both `void Use(Foo*, Bar)` and `ACTION_P(Use, bar) { Use(arg, bar); }` for later application to a Foo. With such an overload, a client may then write `Use(bar);`, selecting the Action<> overload and being confused why nothing happens. This also catches when a client defines their own action in terms of an ACTION_P()-generated one, invokes the Action<>'s builder, and then fails to invoke the resulting action, thinking it's operating on the outer action's parameters. PiperOrigin-RevId: 433197479 Change-Id: I98e4389150d01a5e753230113016d9fc38b1d260 -
Szymon Sobik authored
-
Szymon Sobik authored
-
Szymon Sobik authored
-
Szymon Sobik authored
-
Szymon Sobik authored
It outputs the location of testcase only. Standalone EXPECT will have no location.
-
- 17 Feb, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 429400664 Change-Id: I6454cf52cb2fc616a96663823de997591b63dfae
-
- 14 Feb, 2022 1 commit
-
-
Abseil Team authored
Closes #3762 PiperOrigin-RevId: 428593750 Change-Id: Ifac216568fbc7d999adb71996ec6a1bbe3b97412
-
- 10 Feb, 2022 1 commit
-
-
Abseil Team authored
Add a 3-arg overload for ResultOf() matcher that takes a description string for better error messages. PiperOrigin-RevId: 427598749 Change-Id: I8c7a5d7b2dde017641534f1c7eed8dd56c33e845
-
- 08 Feb, 2022 2 commits
-
-
Copybara-Service authored
PiperOrigin-RevId: 427207981 Change-Id: Ib93f8f61bf568d4651f9148fbc522288308c0d71
-
Copybara-Service authored
PiperOrigin-RevId: 427179775 Change-Id: I9928be2421d559acf0e0f03643ce0b856b63f737
-
- 07 Feb, 2022 1 commit
-
-
Copybara-Service authored
PiperOrigin-RevId: 426976022 Change-Id: Ib9f49cf84775a50cbc806d331349e61a1060b498
-
- 05 Feb, 2022 2 commits
-
-
Hossein Ghahramanzadeh authored
-
Andrew Krasavin authored
-
- 04 Feb, 2022 1 commit
-
-
Copybara-Service authored
PiperOrigin-RevId: 426450614 Change-Id: Iccbe56ddd81f4f3935b3d44aa5b835146758ff83
-
- 01 Feb, 2022 2 commits
-
-
Abseil Team authored
GetCurrentOsStackTraceExceptTop (both the method of UnitTestImpl and the wrapper function in gtest.cc) rely on the fact that the inner call is not getting optimized. This CL annotates them with the appropriate attributes. PiperOrigin-RevId: 425663217 Change-Id: Ib9ec2a69a7dd98d37640b56d4d7798572da66669
-
Copybara-Service authored
PiperOrigin-RevId: 425519462 Change-Id: I196b22675e471f66929c1cdd0f85a405ebac8484
-
- 31 Jan, 2022 1 commit
-
-
Hossein Ghahramanzadeh authored
-
- 28 Jan, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 424864779 Change-Id: Iac5cafa3568f5fe41c85c52d28f7d61845f76868
-
- 26 Jan, 2022 1 commit
-
-
Dino Radakovic authored
PiperOrigin-RevId: 424355706 Change-Id: I618e5574b4b2c56a343905c20d8cc6d2a70cbcd1
-
- 25 Jan, 2022 2 commits
-
-
Melroy van den Berg authored
-
Abseil Team authored
So that global test environments are by default set up and torn down once, regardless of the value of the repeat flag. The point of global environments is to be set up and torn down once, and shared by all tests in the process. There is no obvious reason why multiple runs of the same test should be treated distinctly from single runs of different tests. Having this be false by default means that repeats using a global environment run faster. It can still be set to true if it's desired that every repeat get a fresh environment, but this seems less important given the nature of a global environment. Every test I've seen using a global environment uses it to set up some expensive external resource, not something that can/should be set up for each test anew. (Again this is unsurprising, since the environment is a global.) PiperOrigin-RevId: 424003937 Change-Id: I9e8a825cb8900960dd65b85fe5ffcc0a337e57f3
-
- 24 Jan, 2022 2 commits
-
-
Copybara-Service authored
PiperOrigin-RevId: 423920083 Change-Id: I5e172813387f841d5a6c56eea155b876a465d208
-
Copybara-Service authored
PiperOrigin-RevId: 423906844 Change-Id: I1c34a3ce8a5c761ef9f1d7ce48bef8826742e97d
-
- 21 Jan, 2022 1 commit
-
-
Copybara-Service authored
PiperOrigin-RevId: 423326942 Change-Id: I913f31960d7917b176c9f390424630708473837a
-
- 19 Jan, 2022 1 commit
-
-
Abseil Team authored
Factor out AssertionResult into dedicated gtest-assertion-result header + implementation files to prevent cyclic includes between gtest.h and gtest_pred_impl.h PiperOrigin-RevId: 422863083 Change-Id: I299018a860152216adc206780c32923c03bedb2a
-
- 18 Jan, 2022 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 422559250 Change-Id: I9f630f2186724950e5e9fbd7093d5264e8bf0a71
-
- 17 Jan, 2022 1 commit
-
-
Copybara-Service authored
PiperOrigin-RevId: 422405356 Change-Id: I8ea22485d9a25dce81a28d0c323a73b36d15e912
-
- 14 Jan, 2022 1 commit
-
-
Dino Radakovic authored
PiperOrigin-RevId: 421915817 Change-Id: I22800e8943f9eb050304c521701d4040b1b7a914
-