- 28 Jul, 2015 1 commit
-
-
kosak authored
-
- 27 Jul, 2015 1 commit
-
-
kosak authored
-
- 19 Jul, 2015 1 commit
-
-
kosak authored
-
- 19 May, 2014 1 commit
-
-
billydonahue authored
Make single argument constructors explicit in macros. Remove NOMINMAX macro. Add macros for disabling Microsoft Visual C++ warnings. Add WhenDynamicCastTo<T> matcher. A matcher that matches a pointer that matches inner_matcher when dynamic_cast<T> is applied. Add IWYU export pragmas to the tuple include lines. Fix NativeArray to not require a copy constructor unless we ask for one. This allows ElementsAre() to support non-copyable types. Examine WINAPI_FAMILY_PARTITION macros to better distinguish windows platforms. Author: martin@martin.st From: https://codereview.appspot.com/57220043/
-
- 02 Apr, 2014 1 commit
-
-
kosak authored
-
- 29 Jan, 2014 1 commit
-
-
kosak authored
-
- 12 Jan, 2014 1 commit
-
-
kosak authored
Adds a note in the "uninteresting mock method call" warning to advise people how to handle the warning. Clarifies the purpose of utilities in gmock-port.h and adds guidance w.r.t. gmock-port.h vs gtest-port.h. Pulls in gtest r674.
-
- 27 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.
-
- 14 Aug, 2012 1 commit
-
-
vladlosev authored
-
- 31 May, 2012 1 commit
-
-
zhanyong.wan authored
Renames internal enums to the kFoo naming style. Fixes gmock doctor to work with newer versions of Clang.
-
- 10 Apr, 2012 1 commit
-
-
jgm authored
Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes.
-
- 20 May, 2011 1 commit
-
-
vladlosev authored
-
- 08 Apr, 2011 1 commit
-
-
vladlosev authored
-
- 24 Feb, 2011 1 commit
-
-
zhanyong.wan authored
-
- 14 Sep, 2010 1 commit
-
-
zhanyong.wan authored
-
- 09 Aug, 2010 1 commit
-
-
zhanyong.wan authored
-
- 10 May, 2010 1 commit
-
-
zhanyong.wan authored
-
- 14 Jan, 2010 1 commit
-
-
zhanyong.wan authored
-
- 23 Dec, 2009 1 commit
-
-
zhanyong.wan authored
-
- 16 Dec, 2009 1 commit
-
-
zhanyong.wan authored
-
- 01 Dec, 2009 1 commit
-
-
zhanyong.wan authored
Fixes Cygwin compatibility (by Vlad Losev); Improves Python tests (by Vlad Losev); Fixes ambiguous call to implicit_cast; Uses gtest's SkipPrefix() instead gmock's own (by Vlad Losev).
-
- 24 Nov, 2009 1 commit
-
-
zhanyong.wan authored
Pulls in gtest r344; improves implicit_cast (by Zhanyong Wan); makes the Python tests work on Windows (by Vlad Losev); adds run_tests.py (by Vlad Losev).
-
- 18 Nov, 2009 1 commit
-
-
vladlosev authored
Enables gmock's implicit_cast to work with source types that have a non-const conversion operator (by Zhanyong Wan).
-
- 25 Sep, 2009 1 commit
-
-
zhanyong.wan authored
-
- 16 Sep, 2009 2 commits
-
-
zhanyong.wan authored
-
zhanyong.wan authored
-
- 31 Aug, 2009 1 commit
-
-
zhanyong.wan authored
Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); Enables gMock to compile with VC 7.1 (by Vlad Losev).
-
- 07 Aug, 2009 1 commit
-
-
zhanyong.wan authored
Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes gmock compilable on platforms that don't have ::abort() (by Acadeli Checa); Fixes compatibility with Symbian's STLport (by Acadeli Checa).
-
- 09 Jun, 2009 1 commit
-
-
zhanyong.wan authored
Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian.
-
- 04 Jun, 2009 1 commit
-
-
zhanyong.wan authored
Makes all container matchers work with (possibly multi-dimensional) native arrays; makes Contains() accept a matcher; adds Value(x, m); improves gmock doctor to diagnose the Type in Template Base disease.
-
- 29 May, 2009 1 commit
-
-
zhanyong.wan authored
Made the universal value printer safer when printing char[]; Removed duplicated code in InvokeWith; Improved gmock_doctor.py.
-
- 14 May, 2009 1 commit
-
-
zhanyong.wan authored
Finishes SafeMatcherCast by catching lossy arithmetic conversions at compile-time; uses ACTION_TEMPLATE to simplify the definition of many actions; makes mock object uncopyable; teaches gmock doctor about wrong MOCK_METHODn.
-
- 13 May, 2009 1 commit
-
-
zhanyong.wan authored
Adds more tests for using SetArgumentPointee with protobufs; works around a compiler bug on Symbian that gmock-printers.h triggers; reduces template code bloat in gmock-matchers.h; avoids RTTI when it's disabled.
-
- 05 May, 2009 2 commits
-
-
zhanyong.wan authored
-
zhanyong.wan authored
-
- 22 Apr, 2009 1 commit
-
-
zhanyong.wan authored
-
- 23 Feb, 2009 1 commit
-
-
zhanyong.wan authored
-
- 19 Feb, 2009 1 commit
-
-
zhanyong.wan authored
-
- 12 Feb, 2009 1 commit
-
-
zhanyong.wan authored
-