- 08 Mar, 2022 1 commit
-
-
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
-
- 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
-
- 26 Jan, 2022 1 commit
-
-
Dino Radakovic authored
PiperOrigin-RevId: 424355706 Change-Id: I618e5574b4b2c56a343905c20d8cc6d2a70cbcd1
-
- 18 Jan, 2022 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 422559250 Change-Id: I9f630f2186724950e5e9fbd7093d5264e8bf0a71
-
- 06 Jan, 2022 1 commit
-
-
Brian authored
They were all removed in #2815, but it looks like this one got added from a Google export which missed the update. See #2815 for reasons why removing this is desirable.
-
- 27 Dec, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 418497526 Change-Id: Ie53c3c0810c10a32cbcb941e3ca1ee8fb1ddd9f9
-
- 03 Dec, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 413963503 Change-Id: I33440780bf087698f4e4325399227405885430b3
-
- 28 Sep, 2021 1 commit
-
-
Abseil Team authored
Ensure `.what()` is printed in `ThrowsMessage(...)` to address https://github.com/google/googletest/issues/3582 Closes #3582 PiperOrigin-RevId: 399462851
-
- 24 Sep, 2021 1 commit
-
-
Christian Clauss authored
-
- 23 Sep, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 397651677
-
- 15 Sep, 2021 1 commit
-
-
Abseil Team authored
Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros. PiperOrigin-RevId: 396649214
-
- 13 Aug, 2021 1 commit
-
-
Abseil Team authored
Identify bad specs of the type (const something, ...). PiperOrigin-RevId: 390346843
-
- 04 Aug, 2021 1 commit
-
-
Abseil Team authored
Introduce a new matcher for unescaping Base-64 strings to gmock. PiperOrigin-RevId: 388471904
-
- 29 Jul, 2021 1 commit
-
-
duianto authored
-
- 24 Jul, 2021 1 commit
-
-
slowy07 authored
-
- 22 Jul, 2021 1 commit
-
-
Abseil Team authored
Delete GOOGLETEST_CM.* tags from C++ code. PiperOrigin-RevId: 386268534
-
- 09 Jul, 2021 1 commit
-
-
Abseil Team authored
Suppress a clang-tidy warning in the MATCHER(name, description) macro. PiperOrigin-RevId: 383587271
-
- 07 Jul, 2021 1 commit
-
-
Abseil Team authored
Add `Conditional` wrapper to gtest This follows an initial proposal for an 'EqIff` matcher. `Conditional` was considered more precise as an EqIff() matcher may suffer from `Iff` not being universally understood. PiperOrigin-RevId: 383407665
-
- 30 Jun, 2021 1 commit
-
-
Abseil Team authored
Implement 'Contains(e).Times(n)' matcher modifier which allows to test for arbitrary occurrences including absence with Times(0). PiperOrigin-RevId: 382210276
-
- 15 Jun, 2021 1 commit
-
-
Vasilii Pochkaenko authored
-
- 13 May, 2021 1 commit
-
-
Abseil Team authored
Support templating MockFunction over function objects besides std::function. PiperOrigin-RevId: 373586967
-
- 15 Apr, 2021 1 commit
-
-
John Bampton authored
-
- 13 Apr, 2021 1 commit
-
-
Abseil Team authored
Update docs to point to the github.io pages. PiperOrigin-RevId: 367711335
-
- 17 Mar, 2021 1 commit
-
-
Austin Sullivan authored
An incorrect link is output to the user when these conditions are met.
-
- 16 Mar, 2021 1 commit
-
-
Abseil Team authored
Internal change PiperOrigin-RevId: 362040448
-
- 09 Mar, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 361213113
-
- 18 Feb, 2021 2 commits
-
-
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
-
Abseil Team authored
Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard, attempt #2 PiperOrigin-RevId: 357056902
-
- 11 Feb, 2021 4 commits
-
-
Abseil Team authored
Mark move constructor noexcept PiperOrigin-RevId: 356772642
-
Abseil Team authored
Revert include guard fix PiperOrigin-RevId: 356588893
-
Abseil Team authored
Fix build for MinGW + clang In [1], empty_bases "is only supported when using the Microsoft C++ ABI." Disable it for MinGW. https://clang.llvm.org/docs/AttributeReference.html#empty-bases PiperOrigin-RevId: 356373782
-
Abseil Team authored
Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard PiperOrigin-RevId: 355882793
-
- 05 Feb, 2021 1 commit
-
-
Abseil Team authored
Remove uses of GTEST_HAS_TYPED_TEST_P and GTEST_HAS_TYPED_TEST. PiperOrigin-RevId: 353935996
-
- 26 Jan, 2021 4 commits
-
-
ofats authored
Remove scripts for code generating together with related files. PiperOrigin-RevId: 352805926
-
Abseil Team authored
Stop using pump for generating internal/custom/gmock-generated-actions.h PiperOrigin-RevId: 352660735
-
Abseil Team authored
Internal change PiperOrigin-RevId: 352607401
-
Abseil Team authored
Merge CONTRIBUTORS, delete LICENSEs in googletest/ and googlemock/ PiperOrigin-RevId: 352558822
-
- 14 Jan, 2021 1 commit
-
-
Abseil Team authored
Change Matcher<T> to allow binding an implementation by value directly: - Drop the requirement of MatcherInterface. Doing manual type erasure avoid extra layers in many cases. - Avoid the adaptor for `MatcherInterface<T>` and `MatcherInterface<const T&>` mismatch. - Use a small object optimization when possible. This makes things like `_` and `Eq(1)` really cheap and do not require memory allocations. - Migrate some matchers to the new model to speed them up and to test the new framework. More matchers to come in future changes. PiperOrigin-RevId: 350580998
-
- 29 Dec, 2020 1 commit
-
-
Julien JEMINE authored
-
- 22 Dec, 2020 1 commit
-
-
Abseil Team authored
Give each of Naggy/Nice/StrictMock a base class whose constructor runs before the mocked class's constructor, and a destructor that runs after the mocked class's destructor, so that any mock methods run in either the constructor or destructor use the same strictness as other calls. PiperOrigin-RevId: 348511612
-