| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Add gmock Matcher<std::string_view> specialization.
PiperOrigin-RevId: 294443240
|
|
|
|
|
|
|
|
| |
Get rid of gmock-generated-matchers.h and gmock-generated-matchers.h.pump.
Stop using pump for MATCHER* macroses generation.
PiperOrigin-RevId: 293878808
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix std::move to std::forward where appropriate to support reference types.
PiperOrigin-RevId: 292923058
|
|
|
|
|
|
|
| |
Fix use of reserved names.
Minimize code duplication needed for explict-vs-nonexplicit constructor.
PiperOrigin-RevId: 292555014
|
|\
| |
| |
| |
| |
| | |
bysreg:fix_noshortcircuitfailure_detectsflakyshortcircuit_test
PiperOrigin-RevId: 290256504
|
| |
| |
| |
| | |
gmock-matchers_test.cc
|
|/
|
|
| |
DetectsFlakyShortCircuit when GTEST_HAS_RTTI is 1
|
|\
| |
| |
| | |
PiperOrigin-RevId: 284207090
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
kuzkry:remove-workaround_msvc-namespace-scope-from-nested-class
PiperOrigin-RevId: 282593823
|
| |/ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
PiperOrigin-RevId: 277924721
|
| |
| |
| |
| |
| | |
This reverts commit ba513d2c9525a7c986c115ed5d603f2cf17c6016, reversing
changes made to a3ca5b9e0bf9abc3bc639684966085c4d3182578.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
PiotrNycz:gmock_prevent_return_ref_to_store_temporaries_2
PiperOrigin-RevId: 277061341
|
| | |
| | |
| | |
| | | |
Issue 2527
|
| | |
| | |
| | |
| | | |
Issue 2527
|
| | |
| | |
| | |
| | | |
Issue 2527
|
| | |
| | |
| | |
| | | |
Issue 2471
|
| | |
| | |
| | |
| | | |
Issue no 2527
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 276944601
|
| |/
|/|
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 276134684
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 275842505
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| |_|/
|/| |
| | |
| | |
| | |
| | | |
Rolling forward IsNan() matcher with fixes in test for -Wconversion issues. Use
std::nanf and std::nanl where appropriate.
PiperOrigin-RevId: 275523003
|
| | |
| | |
| | |
| | |
| | |
| | | |
Added IsNan matcher
PiperOrigin-RevId: 275473218
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Addressing https://github.com/google/googletest/issues/2502
Add MOCK_METHOD support for returning function pointers.
PiperOrigin-RevId: 275323671
|
| | |
| | |
| | |
| | |
| | |
| | | |
Added IsNan matcher
PiperOrigin-RevId: 275278634
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 275058934
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 274155281
|
|\| | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 274097989
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |_|/
| |/| | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
PiperOrigin-RevId: 273585026
|
| | |/
| |/|
| | |
| | |
| | | |
This fixes up ab8f346b (a manual merge) that has abandoned some things
from PR #2395.
|
|/ /
| |
| |
| |
| |
| | |
Makes testing::ResultOf() work with non-copyable arguments.
PiperOrigin-RevId: 271222632
|
|/
|
|
|
|
|
|
|
| |
Merge 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd into fb49e6c164490a227bbb7cf5223b846c836a0305
Closes #2407
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2407 from kuzkry:StaticAssertTypeEq 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd
PiperOrigin-RevId: 269255328
|
|\
| |
| |
| | |
PiperOrigin-RevId: 268693457
|
| |
| |
| |
| |
| | |
Due to confusion arisen from "iff" standing for "if and only if",
this commit uses the latter.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Merge 4c9ef099b29d2c840c04643cd9662fd7be712f7b into 565f1b848215b77c3732bca345fe76a0431d8b34
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Merge 7f4f58da20e1066a888d3e4bcbef541db798a605 into 90a443f9c2437ca8a682a1ac625eba64e1d74a8a
Closes #2395
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2395 from kuzkry:custom-type-traits-remove_reference 7f4f58da20e1066a888d3e4bcbef541db798a605
PiperOrigin-RevId: 266189044
|