- 17 Mar, 2020 2 commits
-
-
dmauro authored
Use a polymorphic matcher instead of the GreaterThan<int> test matcher to fix the sign-comparison warning on MSVC. PiperOrigin-RevId: 301163657
-
Abseil Team authored
Internal change PiperOrigin-RevId: 299345492
-
- 28 Feb, 2020 2 commits
-
-
Abseil Team authored
Relax the implementation of MatcherCast to allow conversion of `Matcher<T>` to `Matcher<const T&>`. They have the same match signature. PiperOrigin-RevId: 297115843
-
Abseil Team authored
Allow construction of an Action from a callable of zero args Action already allows construction from a callable with the same args as the mocked function, without needing to wrap the callable in Invoke. However, if you don't care about the arguments to the mocked function you need to either accept all of them or wrap your callable in InvokeWithoutArgs. This change makes both of those unnecessary, since it allows you to pass a no-args callable to Action directly. PiperOrigin-RevId: 296117034
-
- 11 Feb, 2020 1 commit
-
-
Abseil Team authored
Add gmock Matcher<std::string_view> specialization. PiperOrigin-RevId: 294443240
-
- 07 Feb, 2020 4 commits
-
-
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
-
Abseil Team authored
Get rid of gmock-generated-function-mockers.h and gmock-generated-function-mockers.h.pump. Stop using pump for GMOCK_METHOD* macroses generation. PiperOrigin-RevId: 293454519
-
Abseil Team authored
Fix std::move to std::forward where appropriate to support reference types. PiperOrigin-RevId: 292923058
-
Abseil Team authored
Fix use of reserved names. Minimize code duplication needed for explict-vs-nonexplicit constructor. PiperOrigin-RevId: 292555014
-
- 13 Jan, 2020 1 commit
-
-
Muhammad Hilman Beyri authored
-
- 12 Jan, 2020 1 commit
-
-
Muhammad Hilman Beyri authored
fix unit test failure on NoShortCircuitOnFailure and DetectsFlakyShortCircuit when GTEST_HAS_RTTI is 1
-
- 22 Nov, 2019 3 commits
-
-
Abseil Team authored
Use standard C++11 integer types in gtest-port.h. Remove testing::internal::{Int,Uint}{32,64} in favor of types guaranteed to be in <cstdint> since C++11. Tests for built-in integer type coverage are switched from {Int,Uint}64 to [unsigned] long long, which is guaranteed by C++11 to exist and be at least 64-bit wide. PiperOrigin-RevId: 281565263 -
Krystian Kuzniarek authored
-
Krystian Kuzniarek authored
-
- 25 Oct, 2019 2 commits
-
-
Piotr Nycz authored
Issue 2527
-
Piotr Nycz authored
Issue 2527
-
- 24 Oct, 2019 1 commit
-
-
Piotr Nycz authored
Issue 2527
-
- 23 Oct, 2019 3 commits
-
-
Abseil Team authored
Add a matcher `testing::ReturnRoundRobin` which, on each call, returns the next element in the sequence, restarting at the beginning once it has reached the end. PiperOrigin-RevId: 276312136
-
Joshua Cannon authored
This reverts commit ba513d2c, reversing changes made to a3ca5b9e.
-
Piotr Nycz authored
Issue 2471
-
- 22 Oct, 2019 2 commits
-
-
Piotr Nycz authored
Issue no 2527
-
Abseil Team authored
Rolling forward IsNan() matcher with fixes in test for -Wconversion issues. Use std::nanf and std::nanl where appropriate. PiperOrigin-RevId: 275523003
-
- 18 Oct, 2019 2 commits
-
-
misterg authored
Added IsNan matcher PiperOrigin-RevId: 275473218
-
Abseil Team authored
Addressing https://github.com/google/googletest/issues/2502 Add MOCK_METHOD support for returning function pointers. PiperOrigin-RevId: 275323671
-
- 17 Oct, 2019 1 commit
-
-
Abseil Team authored
Added IsNan matcher PiperOrigin-RevId: 275278634
-
- 11 Oct, 2019 3 commits
-
-
Joshua Cannon authored
-
Joshua Cannon authored
-
Joshua Cannon authored
-
- 10 Oct, 2019 1 commit
-
-
Joshua Cannon authored
-
- 07 Oct, 2019 4 commits
-
-
Joshua Cannon authored
-
Joshua Cannon authored
-
Joshua Cannon authored
-
Joshua Cannon authored
-
- 27 Sep, 2019 1 commit
-
-
Abseil Team authored
Makes testing::ResultOf() work with non-copyable arguments. PiperOrigin-RevId: 271222632
-
- 23 Sep, 2019 1 commit
-
-
Krystian Kuzniarek authored
This macro didn't work when an array was passed to a function by pointer, in which case the information about its size was lost. Better alternatives are: * std::extent<T>::value (compile-time) * std::array<T, N>::size() (compile-time) * std::distance(std::begin(array), std::end(array)) (run-time)
-
- 16 Sep, 2019 2 commits
-
-
Krystian Kuzniarek authored
This fixes up ab8f346b (a manual merge) that has abandoned some things from PR #2395.
-
kuzkry authored
Merge 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd into fb49e6c1 Closes #2407 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2407 from kuzkry:StaticAssertTypeEq 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd PiperOrigin-RevId: 269255328
-
- 12 Sep, 2019 2 commits
-
-
Krystian Kuzniarek authored
-
Hosein Ghahremanzadeh authored
Merge 4c9ef099b29d2c840c04643cd9662fd7be712f7b into 565f1b84 Closes #2403 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2403 from IYP-Programer-Yeah:remove-compile-assert-type-equal 4c9ef099b29d2c840c04643cd9662fd7be712f7b PiperOrigin-RevId: 268681883
-
- 06 Sep, 2019 1 commit
-
-
kuzkry authored
Merge 7f4f58da20e1066a888d3e4bcbef541db798a605 into 90a443f9 Closes #2395 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2395 from kuzkry:custom-type-traits-remove_reference 7f4f58da20e1066a888d3e4bcbef541db798a605 PiperOrigin-RevId: 266189044
-