- 07 Feb, 2020 2 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
Fix std::move to std::forward where appropriate to support reference types. PiperOrigin-RevId: 292923058
-
- 22 Nov, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 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)
-
- 13 Feb, 2019 1 commit
-
-
Enji Cooper authored
Comment out unused method parameters in their relevant definitions. Signed-off-by:Enji Cooper <yaneurabeya@gmail.com>
-
- 01 Feb, 2019 1 commit
-
-
Abseil Team authored
Fix stack overflow in AnyOfArray tests. PiperOrigin-RevId: 231881125
-
- 23 Jan, 2019 1 commit
-
-
Abseil Team authored
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
-
- 20 Dec, 2018 1 commit
-
-
Abseil Team authored
Unifdef c++11-related macros from googletest now that it requires C++11. PiperOrigin-RevId: 225905601
-
- 03 Dec, 2018 2 commits
-
-
Abseil Team authored
Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
-
Abseil Team authored
Replace pump'd Args() matcher with variadic templates. PiperOrigin-RevId: 223794430
-
- 09 Oct, 2018 1 commit
-
-
Abseil Team authored
Remove all mention of TR1 tuple and our own implementation of tuple. PiperOrigin-RevId: 216395043
-
- 05 Oct, 2018 1 commit
-
-
Abseil Team authored
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
-
- 16 Apr, 2018 5 commits
-
-
Gennadiy Civil authored
-
Gennadiy Civil authored
more msvc
-
Gennadiy Civil authored
typo
-
Gennadiy Civil authored
msvc warnings
-
Gennadiy Civil authored
-
- 11 Dec, 2017 1 commit
-
-
Bryan Zimmerman authored
-
- 27 Oct, 2017 1 commit
-
-
Bryan Zimmerman authored
change static_cast to ImplicitCast_ for consitency fixes for building with path names containing spaces
-
- 25 Oct, 2017 1 commit
-
-
Arkadiy Shapkin authored
-
- 15 May, 2017 1 commit
-
-
Nico Weber authored
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.
-
- 25 Aug, 2015 1 commit
-
-
Billy Donahue authored
-
- 02 Apr, 2014 1 commit
-
-
kosak authored
-
- 04 Dec, 2013 1 commit
-
-
kosak authored
Fix spelling: repositary -> repository. Pull in gtest 671.
-
- 03 Dec, 2013 1 commit
-
-
kosak authored
-
- 08 Aug, 2013 1 commit
-
-
zhanyong.wan authored
Makes some container matchers accept initializer lists in C++11 mode and work with stream-like containers that don't have size() or empty(); exposes StringMatchResultListener for defining composite matchers.
-
- 28 Jul, 2013 1 commit
-
-
zhanyong.wan authored
gtest r660.
-
- 01 Mar, 2013 1 commit
-
-
zhanyong.wan authored
-
- 15 Nov, 2012 1 commit
-
-
jgm authored
changes that haven't made it to svn. The descriptions of each change are listed below. - Fixes some python shebang lines. - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of its input elements before the conversion to a Matcher. ElementsAreArray can now take a vector as input. ElementsAreArray can now take an iterator pair as input. - Templatize MatchAndExplain to allow independent string types for the matcher and matchee. I also templatized the ConstCharPointer version of MatchAndExplain to avoid calls with "char*" from using the new templated MatchAndExplain. - Fixes the bug where the constructor of the return type of ElementsAre() saves a reference instead of a copy of the arguments. - Extends ElementsAre() to accept arrays whose sizes aren't known. - Switches gTest's internal FilePath class from testing::internal::String to std::string. testing::internal::String was introduced when gTest couldn't depend on std::string. It's now deprecated. - Switches gTest & gMock from using testing::internal::String objects to std::string. Some static methods of String are still in use. We may be able to remove some but not all of them. In particular, String::Format() should eventually be removed as it truncates the result at 4096 characters, often causing problems.
-
- 10 Apr, 2012 1 commit
-
-
jgm authored
Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes.
-
- 16 Mar, 2011 1 commit
-
-
zhanyong.wan authored
-
- 24 Feb, 2011 1 commit
-
-
zhanyong.wan authored
-
- 14 Sep, 2010 1 commit
-
-
zhanyong.wan authored
-
- 21 Jul, 2010 1 commit
-
-
zhanyong.wan authored
-
- 08 Jun, 2010 1 commit
-
-
zhanyong.wan authored
-
- 17 May, 2010 1 commit
-
-
zhanyong.wan authored
-
- 24 Mar, 2010 1 commit
-
-
zhanyong.wan authored
-
- 16 Mar, 2010 1 commit
-
-
zhanyong.wan authored
Fixes the explanation generated by many composite matchers (by Manuel Klimek); publishes the gmock value printer as testing::PrintToString() (by Zhanyong Wan).
-
- 28 Jan, 2010 1 commit
-
-
zhanyong.wan authored
BREAKING CHANGE: drops the old matcher API. See http://code.google.com/p/googlemock/wiki/FrequentlyAskedQuestions for details.
-
- 08 Jan, 2010 1 commit
-
-
zhanyong.wan authored
-