summaryrefslogtreecommitdiffstats
path: root/googlemock/src/gmock-internal-utils.cc
Commit message (Collapse)AuthorAgeFilesLines
* [gtest] Use `std::index_sequence` and friends instead of rolling our ownLawrence Wolf-Sonkin2024-04-041-2/+3
| | | | | | | | | * Applies for `std::index_sequence`, `std::make_index_sequence`, and `std::index_sequence_for` replacing `IndexSequence`, `MakeIndexSequence` and IndexSequenceFor` * Also deleted implementation helper `DoubleSequence` * The standard interfaces [have been in the standard library since C++14](https://en.cppreference.com/w/cpp/utility/integer_sequence), which [is the minimum supported C++ version by Google Test](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md) PiperOrigin-RevId: 621939977 Change-Id: Id264266f08da66c0fa2a6e6fbb8f86fd3cb3a421
* Add missing std includesTom Hughes2023-04-201-0/+1
| | | | | PiperOrigin-RevId: 525850646 Change-Id: I64387f5b933beb79cd05636dca81b7a75213383e
* Internal Code ChangeAbseil Team2023-03-031-1/+1
| | | | | PiperOrigin-RevId: 513770561 Change-Id: I82fbed177c6ba4e2e5b776ae3e0255c868e32e25
* Add support for the alternative base64 encoding in RFC 4648 section 5 to ↵Abseil Team2023-02-061-1/+6
| | | | | | | `WhenBase64Unescaped`. PiperOrigin-RevId: 507527786 Change-Id: Ie5e088b1814981f6c760d7e25418a430172705ec
* Merge pull request #3916 from asmodai27:mainCopybara-Service2022-08-301-3/+4
|\ | | | | | | | | PiperOrigin-RevId: 471062949 Change-Id: I3f063c441b3d4275d931016c431519c14e68d51c
| * Avoid implicit conversion from int to charJérôme Travert2022-06-261-1/+1
| |
* | Merge pull request #3928 from venik:venik-clean-upCopybara-Service2022-07-121-1/+1
|\ \ | |/ |/| | | | | PiperOrigin-RevId: 460455562 Change-Id: I29efc09887651d8734586703fe0691482ba4c981
| * cleanup from unique_ptr branchrefs/pull/3928/headAlexander Nikforov2022-07-011-2/+1
|/
* gmock-internal-utils.cc: Avoid implicit conversion from int to charDino Radakovic2022-05-171-1/+1
| | | | | | | Fixes #3832 PiperOrigin-RevId: 449158813 Change-Id: Ibe85239ab1f123097b2c1b61616c9d611e5b90d0
* Running clang-format over all of GoogleTestAbseil Team2022-03-151-15/+9
| | | | | | | | | | | | | | | | 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
* Include the param names in the generated description of the MATCHER_P matchers.Abseil Team2021-12-271-14/+16
| | | | | PiperOrigin-RevId: 418497526 Change-Id: Ie53c3c0810c10a32cbcb941e3ca1ee8fb1ddd9f9
* Googletest exportAbseil Team2021-09-151-2/+2
| | | | | | | gmock-internal-utils.cc: Use `static_cast` instead of implicit conversion between signed and unsigned types Fixes #3550 PiperOrigin-RevId: 396826071
* Googletest exportAbseil Team2021-09-151-2/+2
| | | | | | Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros. PiperOrigin-RevId: 396649214
* Internal changeAbseil Team2021-08-061-1/+1
| | | | PiperOrigin-RevId: 389163232
* Googletest exportAbseil Team2021-08-041-0/+54
| | | | | | Introduce a new matcher for unescaping Base-64 strings to gmock. PiperOrigin-RevId: 388471904
* restore mistakenly removed iffs in their explicit formrefs/pull/2387/headKrystian Kuzniarek2019-08-201-3/+3
| | | | | Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter.
* fix typosrefs/pull/2356/headKrystian Kuzniarek2019-07-301-2/+2
|
* Googletest exportAbseil Team2019-01-021-3/+0
| | | | | | | | Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
* Googletest exportAbseil Team2018-12-031-2/+2
| | | | | | Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
* Comments changes, no functionality changesrefs/pull/1740/headGennadiy Civil2018-08-141-2/+1
|
* Mark new GetWithoutMatchers method as part of the exported API, to address ↵David Sunderland2018-04-191-1/+1
| | | | MSVC linker errors.
* Don't use generalized initializer list; is C++11 extension.David Sunderland2018-04-181-1/+1
|
* Clone of unsubmitted cr/176529515. Introduce parameterless expectations.David Sunderland2018-04-181-0/+2
|
* ...mergingrefs/pull/1561/headGennadiy Civil2018-04-111-1/+1
|
* Revert "gmock actions 2"refs/pull/1556/headGennadiy Civil2018-04-101-1/+1
|
* fixing MSVCGennadiy Civil2018-04-061-1/+1
|
* merges-2Gennadiy Civil2018-03-051-2/+12
|
* moving JoinAsTuple to internalGennadiy Civil2018-02-121-0/+19
|
* Use gender-neutral pronouns in comments and docsrefs/pull/1275/headJonathan Wakely2017-09-271-1/+1
|
* Use std::string and ::string explicitly in gtest and gmock code.refs/pull/1089/headNico Weber2017-05-151-3/+2
| | | | | | | | | This merges a Google-internal change (117235625). Original CL description: This CL was created manually in about an hour with sed, a Python script to find all the places unqualified 'string' was mentioned, and some help from Emacs to add the "std::" qualifications, plus a few manual tweaks.
* move googlemock files into googlemock/ subdirBilly Donahue2015-08-251-0/+174