aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implements matcher IsEmpty(); also pulls in gtest r643.zhanyong.wan2013-03-013-2/+95
|
* Makes googlemock throw a runtime_error instead of abort when a mockzhanyong.wan2013-02-284-101/+277
| | | | | method with no default value is invoked (if exceptions are enabled).
* Adds -pthread and switches -I to -isystem in build instructions;zhanyong.wan2013-02-272-10/+21
| | | | also pulls in the latest gtest revision (r638).
* Adds the LICENSE file to the distribution.vladlosev2013-01-311-1/+1
|
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm2012-11-1511-191/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Makes gmock's Pointee() work for optional<T> (by Jeffrey Yasskin).vladlosev2012-08-142-1/+33
|
* Pulls in gtest r615.zhanyong.wan2012-05-318-57/+61
| | | | | | Renames internal enums to the kFoo naming style. Fixes gmock doctor to work with newer versions of Clang.
* Reduced template instantiation depth for the AllOf and AnyOf matchers. Also ↵jgm2012-04-1020-336/+661
| | | | some formatting changes.
* Fixes a lock reentrancy when destroying a mock causes destruction of another ↵vladlosev2011-10-243-5/+85
| | | | mock (issue 79) (by Aaron Jacobs).
* Expressed the thread-safety annotations in code, replacing the existing ↵vladlosev2011-10-242-158/+168
| | | | comment-based system (by Aaron Jacobs).
* Fixed Google Mock Doctor Clang regexes to work on both k8 and piii (by Greg ↵vladlosev2011-10-241-1/+1
| | | | Miller).
* Modifies gmock_doctor.py to work with GCC output that contains ↵vladlosev2011-09-281-1/+4
| | | | file:line:char positions and left and right quote characters (U+2018 and U+2019) instead of apostrophes (U+0027).
* Implements matchers WhenSorted() and WhenSortedBy(); pulls in gtest r595.zhanyong.wan2011-09-162-0/+180
|
* Renames the license files.vladlosev2011-09-094-2/+2
|
* More Clang support improvements in Google Mock Doctor.vladlosev2011-08-251-5/+5
|
* Improves support for Clang in Google Mock Doctor.vladlosev2011-08-161-2/+3
|
* Fixes issue 139 and issue 140.vladlosev2011-05-202-12/+73
|
* Adds a DLL-related section to Google Mock's README.vladlosev2011-05-201-1/+8
|
* Adds support for building Google Mock as a shared library (DLL).vladlosev2011-05-2014-65/+86
|
* A test to verify correcteness of Google Mock on multiple threads.vladlosev2011-05-112-1/+326
|
* Makes generation of fused sources contingent on availability of Python and ↵vladlosev2011-04-211-10/+14
| | | | pulls in gtest r580.
* simplifies TrulyMatcher and adds a test for itzhanyong.wan2011-04-142-9/+32
|
* Documents latest changes and pulls in gtest r570zhanyong.wan2011-04-141-0/+2
|
* Updates conditional directives to be consistent with the rest of the project.vladlosev2011-04-141-2/+2
|
* Corrects condition to compile out MSVC's pragmas. This fixes the build on MinGW.vladlosev2011-04-131-4/+4
|
* Removes commas from last items in enums (a C++ standard compliance fix).vladlosev2011-04-082-4/+4
|
* disables 'make install'zhanyong.wan2011-04-071-4/+12
|
* fixes link errors in 'make check'zhanyong.wan2011-04-071-2/+2
|
* Changes diagnostic output of the question mark from '\?' to '?'.vladlosev2011-04-011-6/+6
|
* Fixes Google Mock Doctor affected by the latest tweaks to Clang.vladlosev2011-03-291-1/+1
|
* Prevents ADL in AllOf() and AnyOf() (by Manuel Klimek).zhanyong.wan2011-03-163-22/+54
|
* Disables SetArgPointee("string literal") for GCC 4.0- and Symbian, andzhanyong.wan2011-03-092-5/+60
| | | | adds support for SetArgPointee(L"wide string literal") -- by Vlad Losev.
* Adds CMake scripts to gmock's release package.zhanyong.wan2011-02-242-0/+5
|
* Changes gmock's version to 1.6.0 and adds release notes.zhanyong.wan2011-02-242-2/+25
|
* Indents preprocessor directives.zhanyong.wan2011-02-2416-55/+62
|
* Makes Google Mock compile much faster and use much less memory; reviewed by ↵zhanyong.wan2011-02-238-570/+813
| | | | Nico Weber. This fixes issue 68.
* Adds project files for MSVC 2010 (by Fredrik Roubert).vladlosev2011-02-1214-445/+355
|
* Improves cross-platform compatibility of gmock output. This fixes issue 135.vladlosev2011-02-112-12/+40
|
* Picks up gtest r536; renames implicit_cast and down_cast to reduce the ↵zhanyong.wan2011-02-017-40/+62
| | | | chance of clash (by Roman Perepelitsa); enables gmock_gen.py to handle storage specifiers (by Steve Fox).
* Enables SetArgPointee<>() to accept a string literal; removes a ↵zhanyong.wan2010-12-024-2/+63
| | | | self-assignment warning; teaches gmock doctor to diagnose TTB with Clang; picks up gtest r525.
* Adds comment clarifying the use of default-constructed matchers.vladlosev2010-11-171-2/+3
|
* Adds action SaveArgPointee.zhanyong.wan2010-10-142-0/+37
|
* Fixes an include order problem in CMakeLists.txt; pulls in gtest r489.zhanyong.wan2010-10-051-14/+10
|
* Adds more tests for the gmock generator.zhanyong.wan2010-10-051-5/+66
|
* Enables gmock_gen to handle return types that are templates (based on Pride ↵zhanyong.wan2010-10-051-9/+23
| | | | Haveit's patch); also fixes deprecation warnings when using gmock_gen with python 2.6 (by Aaron Jacobs).
* Adds SetArgPointee to replace SetArgumentPointee.zhanyong.wan2010-10-056-53/+182
|
* Factors out email address in Google Mock Doctor messages.vladlosev2010-09-291-10/+14
|
* Fixes issue 105.zhanyong.wan2010-09-271-1/+1
|
* Prints the type of the actual value as part of a match message when appropriate.zhanyong.wan2010-09-272-28/+88
|
* Updates the gMock Doctor script to understand Clang error messages.vladlosev2010-09-251-176/+253
|