aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-generated-matchers_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2444 from kuzkry:remove-GTEST_ARRAY_SIZE_Gennadiy Civil2019-10-221-27/+26
|\ | | | | | | PiperOrigin-RevId: 275842505
| * remove GTEST_ARRAY_SIZE_Krystian Kuzniarek2019-09-231-26/+25
|/ | | | | | | | | 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)
* Fix clang `-Wunused-parameter` warningsEnji Cooper2019-02-131-1/+1
| | | | | | Comment out unused method parameters in their relevant definitions. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
* Googletest exportAbseil Team2019-02-011-2/+2
| | | | | | Fix stack overflow in AnyOfArray tests. PiperOrigin-RevId: 231881125
* Googletest exportAbseil Team2019-01-231-0/+142
| | | | | | | | | | | Add AllOfArray matcher that verifies a value matches all member of some array/container/list/set/..., e.g: EXPECT_THAT(1, AnyOfArray({1, 2, 3})) In the simplest form this is identical to AnyOf(1, 2, 3). But unlike that one it works on containers. Add AnyOfArray matcher that verifies a value matches any member of some array/container/list/set/... PiperOrigin-RevId: 230403653
* Googletest exportAbseil Team2018-12-201-4/+0
| | | | | | Unifdef c++11-related macros from googletest now that it requires C++11. PiperOrigin-RevId: 225905601
* Googletest exportAbseil Team2018-12-031-3/+2
| | | | | | Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
* Googletest exportAbseil Team2018-12-031-152/+0
| | | | | | Replace pump'd Args() matcher with variadic templates. PiperOrigin-RevId: 223794430
* Unconditionally use std::tuple.Abseil Team2018-10-091-42/+40
| | | | | | Remove all mention of TR1 tuple and our own implementation of tuple. PiperOrigin-RevId: 216395043
* Apply clang-tidy modernize-use-nullptr to googletest.Abseil Team2018-10-051-2/+2
| | | | | | | | | | | Now that googletest has moved to C++11, it should no longer use NULL or 0 for the null pointer. This patch converts all such usages to nullptr using clang-tidy. This prevents LLVM from issuing -Wzero-as-null-pointer-constant warnings. PiperOrigin-RevId: 215814400
* typoGennadiy Civil2018-04-161-1/+1
|
* more msvcGennadiy Civil2018-04-161-1/+2
|
* typoGennadiy Civil2018-04-161-1/+1
|
* msvc warningsGennadiy Civil2018-04-161-0/+11
|
* merging gmock generated matchersGennadiy Civil2018-04-161-4/+47
|
* Fix tests with VS2015 and VS2017Arkadiy Shapkin2017-10-251-4/+4
|
* Use std::string and ::string explicitly in gtest and gmock code.Nico Weber2017-05-151-36/+36
| | | | | | | | | 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/+1286