aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename custom/callback-actions.h[.pump] =>kosak2015-07-286-16/+16
| | | | custom/gmock-generated-actions.h[.pump].
* Injection point for GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_kosak2015-07-281-0/+5
|
* Inject a mock stack trace getter.kosak2015-07-281-10/+42
|
* Add an injection point for customizing GMOCK_DECLARE_bool and the like.kosak2015-07-282-0/+51
|
* Tests based on GTEST_HAS_STD_UNIQUE_PTR_ and GTEST_HAS_STD_SHARED_PTR_.kosak2015-07-271-0/+18
| | | | Pull in gtest 744.
* Inject customization point for gmock-matchers.hkosak2015-07-272-1/+43
|
* Templatize ParseeGoogleMockStringFlag on String type.kosak2015-07-271-1/+2
|
* Missing diff that should have gone along with the pull of gtest 738.kosak2015-07-271-39/+0
|
* Explicitly specify return value for lambda in AsStdFunction() to ensure itkosak2015-07-243-12/+22
| | | | works properly where return type is a reference.
* Remove some tests.kosak2015-07-191-19/+2
|
* Move Callback-related generated actions to a custom/ file.kosak2015-07-195-169/+166
|
* Mark the default constructor of Matcher<> explicit.kosak2015-07-131-1/+1
| | | | This prevents implicitly constructing a matcher from {}.
* Fix EXPECT_THAT() to support literal strings as a second argument.kosak2015-04-282-3/+19
|
* Change IsNull and NotNull to use ==/!= nullptr in C++11.kosak2015-04-283-1/+27
| | | | Also update gmock_doctor due to Clang wording change.
* Suppresses the stack trace in a warning for uninteresting call by default; ↵kosak2015-02-143-13/+27
| | | | the stack trace will still be printed when --gmock_verbose=info is printed.
* In C++11 and above, makes a mock method whose return type is defaultkosak2015-02-144-72/+150
| | | | constructible return a default-constructed value by default.
* This change adds an explicit invocation of std::move to workaround a problemkosak2015-02-141-0/+7
| | | | | | in VC++'s /analyze compiler that was causing build errors in Chrome: https://code.google.com/p/googlemock/issues/detail?id=172
* Make ReturnNull() support unique_ptr and shared_ptr.kosak2015-01-082-1/+19
|
* Adding support to gmock_gen for nested templates.kosak2015-01-083-4/+41
|
* Makes DoubleNear() print the diff between the actual and the expected value ↵kosak2015-01-083-37/+73
| | | | | | | when the match fails. Also fix bogus MSVC warning about "alignment of a member was sensitive to packing". Also bring in gtest 701.
* Add support for C++11 explicitly defaulted and deleted special member ↵kosak2014-11-172-4/+73
| | | | functions in the gmock generator.
* Prevent gmock_gen from returning exit code zero on a failure to parse.kosak2014-11-171-1/+1
|
* Handle parameters without variable names when the type includes *, & or [].kosak2014-11-172-4/+33
|
* Update gmock_doctor to accept static_assert output.kosak2014-11-171-0/+9
|
* Fix gmock-matchers_test's ConstIter.kosak2014-11-171-2/+2
|
* Fix gmock Action behaviour when return type is Wrapperkosak2014-11-172-2/+26
|
* Generate relational matchers (Eq,Lt, etc) with CRTP instead of macro.kosak2014-11-172-93/+166
|
* Call move() by qualified name (::testing::internal::move() or just ↵kosak2014-11-172-6/+10
| | | | | | internal::move()). Pull in gtest 696.
* Silence a signedness-comparison warning in gmock-actions_test.kosak2014-11-173-2/+10
| | | | include <functional> when using std::function in gmock.
* Add ByMove() modifier for the Return() action. Pull in gtest 695.kosak2014-11-173-19/+93
|
* Distinguish between C++11 language and library support for std::function, ↵kosak2014-11-176-35/+35
| | | | | | std::begin, std::end, and std::move in gtest and gmock. Bring in gtest 694.
* Defines the UnorderedPointwise(m, container) matcher, which is like ↵kosak2014-07-282-68/+336
| | | | Pointwise(m, container) but ignores the order of the elements.
* Allows {Unordered,}ElementsAreArray() to accept any STL-style container as ↵kosak2014-07-282-11/+37
| | | | the parameter.
* Add MockFunction::AsStdFunction(). Also pull in gtest 688.kosak2014-06-173-2/+138
|
* Push several shanges:billydonahue2014-05-199-23/+249
| | | | | | | | | | | | | | | | | | | | | | 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/
* Export tuple and friends in the ::testing namespace.kosak2014-04-0219-375/+306
|
* Implement threading support for gmock on Windows.kosak2014-03-242-3/+7
| | | | | Replace U+2013 with U+002D in comment lines. Pull in gtest 681.
* Make the gmock generator work with the 'override' keyword. Also pull in ↵kosak2014-03-123-2/+17
| | | | gtest 680.
* Introduce a BeginEndDistanceIs matcher for containers such as std::forward_listkosak2014-03-122-0/+133
| | | | | | which lack a size() member. Also pull in gtest 678.
* Suppress "Conditional expression is constant" warning on Visual Studio.kosak2014-01-292-0/+4
|
* Support mocking methods with move-only return types.kosak2014-01-295-44/+208
|
* Make Google Mock build cleanly on Visual Studio 2010, 2012, 2013.kosak2014-01-134-23/+59
|
* Adds a note in the "uninteresting mock method call" warning to advise people ↵kosak2014-01-124-9/+36
| | | | | | | 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.
* Distinguish between C++11 language and library support for <initializer_list>.kosak2013-12-044-10/+10
| | | | | Fix spelling: repositary -> repository. Pull in gtest 671.
* Fix warnings encountered with clang -Wall, and pull in gtest 670.kosak2013-12-032-37/+33
|
* Clarify the rationale for gmock_all_test.cc, and pull in gtest 669kosak2013-12-031-2/+5
|
* Don't copy the argument in SafeMatcherCast because it's not safe.kosak2013-12-032-5/+28
|
* adds gmock_doctor.py to the distrozhanyong.wan2013-11-211-0/+4
|
* avoids clash with the max() macro on Windowszhanyong.wan2013-09-181-95/+60
|
* fixes the bug reported by Andrzej Jarzabek where 2 gmock tests fail when ↵zhanyong.wan2013-09-161-2/+2
| | | | built with VS