- 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
-
- 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
-
- 27 Dec, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 418497526 Change-Id: Ie53c3c0810c10a32cbcb941e3ca1ee8fb1ddd9f9
-
- 22 Dec, 2021 1 commit
-
-
Derek Mauro authored
unifying the behavior between Bazel and CMake This fixes one of the CI failures on Windows PiperOrigin-RevId: 417872531 Change-Id: I156989323b7e6d4a4420f4f9691b078829db933d
-
- 03 Dec, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 413963503 Change-Id: I33440780bf087698f4e4325399227405885430b3
-
- 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
-
- 12 Nov, 2021 1 commit
-
-
Abseil Team authored
Fix typo in gmock-matchers_test.cc: CanDescribeNegationOfExpectingOneElment => CanDescribeNegationOfExpectingOneElement PiperOrigin-RevId: 409484263 Change-Id: I7448d6f04a9868602e0bc8dec40ea3eb63d3e387
-
- 05 Nov, 2021 1 commit
-
-
Raul Tambre authored
This was deprecated by P0174 in C++17.
-
- 03 Nov, 2021 1 commit
-
-
Abseil Team authored
Internal change PiperOrigin-RevId: 405710296
-
- 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
-
- 17 Sep, 2021 1 commit
-
-
Vertexwahn authored
-
- 15 Sep, 2021 1 commit
-
-
Abseil Team authored
Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros. PiperOrigin-RevId: 396649214
-
- 04 Aug, 2021 1 commit
-
-
Abseil Team authored
Introduce a new matcher for unescaping Base-64 strings to gmock. PiperOrigin-RevId: 388471904
-
- 24 Jul, 2021 1 commit
-
-
slowy07 authored
-
- 07 Jul, 2021 2 commits
-
-
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
-
Abseil Team authored
Introduce GTEST_FLAG_GET and GTEST_FLAG_SET macros. PiperOrigin-RevId: 382808313
-
- 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
-
- 26 Jun, 2021 1 commit
-
-
Manuel Binna authored
On QNX, pthread is part of libc [1]. There's no separate pthread library to link. [1] https://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.neutrino.lib_ref/topic/p/pthread_create.html
-
- 02 Jun, 2021 1 commit
-
-
dmauro authored
Updates Linux docker image to use Bazel 4.1.0 and GCC 11.1 Updates Bazel dependencies Removes the last usage of the deprecated and removed Python2 PiperOrigin-RevId: 375759184
-
- 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
-
- 04 Mar, 2021 1 commit
-
-
Abseil Team authored
Format WORKSPACE and googlemock/test/BUILD.bazel using buildifier PiperOrigin-RevId: 360913861
-
- 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 2 commits
-
-
Abseil Team authored
Revert include guard fix PiperOrigin-RevId: 356588893
-
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 2 commits
-
-
ofats authored
Remove scripts for code generating together with related files. PiperOrigin-RevId: 352805926
-
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
-
- 22 Dec, 2020 2 commits
-
-
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
-
dmauro authored
Internal Change PiperOrigin-RevId: 347631521
-
- 10 Dec, 2020 1 commit
-
-
dmauro authored
Fix a missing Bazel build dependency PiperOrigin-RevId: 346783462
-
- 09 Dec, 2020 1 commit
-
-
Abseil Team authored
Introduce a new `Address` matcher to gmock. PiperOrigin-RevId: 346344591
-
- 07 Dec, 2020 1 commit
-
-
Abseil Team authored
Add a `Pointer` matcher as an analog to `Pointee`. Similar to `Pointee`, `Pointer` works with either raw or smart pointers and allows creating a matcher like Pointer(Eq(foo)) for smart pointers. PiperOrigin-RevId: 346164768
-
- 03 Dec, 2020 1 commit
-
-
Abseil Team authored
Disable a gmock matcher test under MSVC 2015 (version 14) and earlier. It interacts badly with Windows structured exceptions in a way we do not have the resources to investigate. This test passes under MSVC 2017 and SEH. PiperOrigin-RevId: 345496734
-
- 09 Nov, 2020 1 commit
-
-
Abseil Team authored
GMock: Make Truly explain when it fails I just wrote a test that had a matcher of the form Optional(AllOf( SomeMatcher, SomeOtherMatcher, Truly(SomePredicate))) The predicate failed, the other two matchers succeeded, and I got a hard-to-interpret message saying that the value in the optional "didn't match". Didn't match what? This change improves situations like that slightly by having Truly explain to its result listener when it fails. When there are multiple Trulys in an AllOf, there will be some ambiguity, but it will at least provide more information than right now. PiperOrigin-RevId: 341105141
-
- 06 Nov, 2020 1 commit
-
-
Abseil Team authored
Add support for ref qualifiers in MOCK_METHOD. PiperOrigin-RevId: 341047839
-