external/gmock.git
3 weeks agoMakes EXPECT_THAT typesafe; updates CHANGES for 1.7.0; pulls in gtest r653 master
zhanyong.wan [Wed, 24 Apr 2013 02:49:43 +0000 (02:49 +0000)]
Makes EXPECT_THAT typesafe; updates CHANGES for 1.7.0; pulls in gtest r653

git-svn-id: http://googlemock.googlecode.com/svn/trunk@432 8415998a-534a-0410-bf83-d39667b30386

6 weeks agoUpdates version number to 1.7.0
zhanyong.wan [Sun, 7 Apr 2013 03:16:38 +0000 (03:16 +0000)]
Updates version number to 1.7.0

git-svn-id: http://googlemock.googlecode.com/svn/trunk@430 8415998a-534a-0410-bf83-d39667b30386

6 weeks agoFixes some compatibility issues with STLport.
zhanyong.wan [Thu, 4 Apr 2013 22:45:59 +0000 (22:45 +0000)]
Fixes some compatibility issues with STLport.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@429 8415998a-534a-0410-bf83-d39667b30386

7 weeks agoMakes WhenSorted() support associative containers (by billydonahue@google.com).
zhanyong.wan [Wed, 27 Mar 2013 16:14:55 +0000 (16:14 +0000)]
Makes WhenSorted() support associative containers (by billydonahue@google.com).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@427 8415998a-534a-0410-bf83-d39667b30386

7 weeks agoAdds special support for matching StringPiece. Pulls in gtest r646.
zhanyong.wan [Mon, 25 Mar 2013 16:27:03 +0000 (16:27 +0000)]
Adds special support for matching StringPiece.  Pulls in gtest r646.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@426 8415998a-534a-0410-bf83-d39667b30386

2 months agoRemoves an unnecessary semi-colon, which causes a warning in GCC's pedantic mode.
zhanyong.wan [Fri, 8 Mar 2013 17:53:24 +0000 (17:53 +0000)]
Removes an unnecessary semi-colon, which causes a warning in GCC's pedantic mode.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@425 8415998a-534a-0410-bf83-d39667b30386

2 months agoAdds a cmake target for gmock_ex_test; also fixes name shadowing warnings.
zhanyong.wan [Fri, 1 Mar 2013 21:28:40 +0000 (21:28 +0000)]
Adds a cmake target for gmock_ex_test; also fixes name shadowing warnings.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@424 8415998a-534a-0410-bf83-d39667b30386

2 months agoImproves the tests for nice, naggy, and strict mocks.
zhanyong.wan [Fri, 1 Mar 2013 07:10:07 +0000 (07:10 +0000)]
Improves the tests for nice, naggy, and strict mocks.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@422 8415998a-534a-0410-bf83-d39667b30386

2 months agoAllows the return type of a mock method to contain unprotected commas.
zhanyong.wan [Fri, 1 Mar 2013 06:58:38 +0000 (06:58 +0000)]
Allows the return type of a mock method to contain unprotected commas.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@421 8415998a-534a-0410-bf83-d39667b30386

2 months agoRemoves unused variables and functions.
zhanyong.wan [Fri, 1 Mar 2013 06:53:35 +0000 (06:53 +0000)]
Removes unused variables and functions.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@420 8415998a-534a-0410-bf83-d39667b30386

2 months agoImplements NaggyMock.
zhanyong.wan [Fri, 1 Mar 2013 01:54:22 +0000 (01:54 +0000)]
Implements NaggyMock.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@419 8415998a-534a-0410-bf83-d39667b30386

2 months agoImplements matcher SizeIs().
zhanyong.wan [Fri, 1 Mar 2013 01:50:17 +0000 (01:50 +0000)]
Implements matcher SizeIs().

git-svn-id: http://googlemock.googlecode.com/svn/trunk@418 8415998a-534a-0410-bf83-d39667b30386

2 months agoClarifies how to implement MatcherInterface.
zhanyong.wan [Fri, 1 Mar 2013 01:47:35 +0000 (01:47 +0000)]
Clarifies how to implement MatcherInterface.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@417 8415998a-534a-0410-bf83-d39667b30386

2 months agoImplements matcher IsEmpty(); also pulls in gtest r643.
zhanyong.wan [Fri, 1 Mar 2013 00:20:30 +0000 (00:20 +0000)]
Implements matcher IsEmpty(); also pulls in gtest r643.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@416 8415998a-534a-0410-bf83-d39667b30386

2 months agoMakes googlemock throw a runtime_error instead of abort when a mock
zhanyong.wan [Thu, 28 Feb 2013 22:58:51 +0000 (22:58 +0000)]
Makes googlemock throw a runtime_error instead of abort when a mock
method with no default value is invoked (if exceptions are enabled).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@415 8415998a-534a-0410-bf83-d39667b30386

2 months agoPulls in gtest r639, which fixes dangling reference in make/cmake files.
zhanyong.wan [Wed, 27 Feb 2013 18:54:05 +0000 (18:54 +0000)]
Pulls in gtest r639, which fixes dangling reference in make/cmake files.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@414 8415998a-534a-0410-bf83-d39667b30386

2 months agoAdds -pthread and switches -I to -isystem in build instructions;
zhanyong.wan [Wed, 27 Feb 2013 17:53:45 +0000 (17:53 +0000)]
Adds -pthread and switches -I to -isystem in build instructions;
also pulls in the latest gtest revision (r638).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@413 8415998a-534a-0410-bf83-d39667b30386

3 months agoAdds the LICENSE file to the distribution.
vladlosev [Thu, 31 Jan 2013 19:53:54 +0000 (19:53 +0000)]
Adds the LICENSE file to the distribution.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@412 8415998a-534a-0410-bf83-d39667b30386

6 months agoUnfortunately, the svn repo is a bit out of date. This commit contains 8
jgm@google.com [Thu, 15 Nov 2012 15:50:36 +0000 (15:50 +0000)]
Unfortunately, the svn repo is a bit out of date. This commit contains 8
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.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@410 8415998a-534a-0410-bf83-d39667b30386

9 months agoMakes gmock's Pointee() work for optional<T> (by Jeffrey Yasskin).
vladlosev [Tue, 14 Aug 2012 15:38:49 +0000 (15:38 +0000)]
Makes gmock's Pointee() work for optional<T> (by Jeffrey Yasskin).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@408 8415998a-534a-0410-bf83-d39667b30386

11 months agoPulls in gtest r615.
zhanyong.wan [Thu, 31 May 2012 20:40:56 +0000 (20:40 +0000)]
Pulls in gtest r615.

Renames internal enums to the kFoo naming style.

Fixes gmock doctor to work with newer versions of Clang.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@407 8415998a-534a-0410-bf83-d39667b30386

13 months agoReduced template instantiation depth for the AllOf and AnyOf matchers. Also some...
jgm@google.com [Tue, 10 Apr 2012 16:02:11 +0000 (16:02 +0000)]
Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@405 8415998a-534a-0410-bf83-d39667b30386

18 months agoFixes a lock reentrancy when destroying a mock causes destruction of another mock...
vladlosev [Mon, 24 Oct 2011 23:41:07 +0000 (23:41 +0000)]
Fixes a lock reentrancy when destroying a mock causes destruction of another mock (issue 79) (by Aaron Jacobs).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@403 8415998a-534a-0410-bf83-d39667b30386

18 months agoExpressed the thread-safety annotations in code, replacing the existing comment-based...
vladlosev [Mon, 24 Oct 2011 21:16:22 +0000 (21:16 +0000)]
Expressed the thread-safety annotations in code, replacing the existing comment-based system (by Aaron Jacobs).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@402 8415998a-534a-0410-bf83-d39667b30386

18 months agoFixed Google Mock Doctor Clang regexes to work on both k8 and piii (by Greg Miller).
vladlosev [Mon, 24 Oct 2011 17:48:54 +0000 (17:48 +0000)]
Fixed Google Mock Doctor Clang regexes to work on both k8 and piii (by Greg Miller).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@401 8415998a-534a-0410-bf83-d39667b30386

19 months agoModifies gmock_doctor.py to work with GCC output that contains file:line:char positio...
vladlosev [Wed, 28 Sep 2011 18:32:59 +0000 (18:32 +0000)]
Modifies gmock_doctor.py to work with GCC output that contains file:line:char positions and left and right quote characters (U+2018 and U+2019) instead of apostrophes (U+0027).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@399 8415998a-534a-0410-bf83-d39667b30386

20 months agoImplements matchers WhenSorted() and WhenSortedBy(); pulls in gtest r595.
zhanyong.wan [Fri, 16 Sep 2011 16:45:39 +0000 (16:45 +0000)]
Implements matchers WhenSorted() and WhenSortedBy(); pulls in gtest r595.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@397 8415998a-534a-0410-bf83-d39667b30386

20 months agoRenames the license files.
vladlosev [Fri, 9 Sep 2011 07:06:32 +0000 (07:06 +0000)]
Renames the license files.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@396 8415998a-534a-0410-bf83-d39667b30386

20 months agoMore Clang support improvements in Google Mock Doctor.
vladlosev [Thu, 25 Aug 2011 21:35:10 +0000 (21:35 +0000)]
More Clang support improvements in Google Mock Doctor.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@395 8415998a-534a-0410-bf83-d39667b30386

21 months agoImproves support for Clang in Google Mock Doctor.
vladlosev [Tue, 16 Aug 2011 00:51:14 +0000 (00:51 +0000)]
Improves support for Clang in Google Mock Doctor.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@394 8415998a-534a-0410-bf83-d39667b30386

2 years agoFixes issue 139 and issue 140.
vladlosev [Fri, 20 May 2011 21:44:14 +0000 (21:44 +0000)]
Fixes issue 139 and issue 140.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@393 8415998a-534a-0410-bf83-d39667b30386

2 years agoAdds a DLL-related section to Google Mock's README.
vladlosev [Fri, 20 May 2011 21:15:36 +0000 (21:15 +0000)]
Adds a DLL-related section to Google Mock's README.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@392 8415998a-534a-0410-bf83-d39667b30386

2 years agoAdds support for building Google Mock as a shared library (DLL).
vladlosev [Fri, 20 May 2011 00:42:22 +0000 (00:42 +0000)]
Adds support for building Google Mock as a shared library (DLL).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@391 8415998a-534a-0410-bf83-d39667b30386

2 years agoA test to verify correcteness of Google Mock on multiple threads.
vladlosev [Wed, 11 May 2011 08:18:45 +0000 (08:18 +0000)]
A test to verify correcteness of Google Mock on multiple threads.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@390 8415998a-534a-0410-bf83-d39667b30386

2 years agoMakes generation of fused sources contingent on availability of Python and pulls...
vladlosev [Thu, 21 Apr 2011 21:56:01 +0000 (21:56 +0000)]
Makes generation of fused sources contingent on availability of Python and pulls in gtest r580.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@388 8415998a-534a-0410-bf83-d39667b30386

2 years agopulls in gtest r572
zhanyong.wan [Fri, 15 Apr 2011 19:53:42 +0000 (19:53 +0000)]
pulls in gtest r572

git-svn-id: http://googlemock.googlecode.com/svn/trunk@384 8415998a-534a-0410-bf83-d39667b30386

2 years agosimplifies TrulyMatcher and adds a test for it
zhanyong.wan [Thu, 14 Apr 2011 19:37:06 +0000 (19:37 +0000)]
simplifies TrulyMatcher and adds a test for it

git-svn-id: http://googlemock.googlecode.com/svn/trunk@383 8415998a-534a-0410-bf83-d39667b30386

2 years agoDocuments latest changes and pulls in gtest r570
zhanyong.wan [Thu, 14 Apr 2011 07:49:05 +0000 (07:49 +0000)]
Documents latest changes and pulls in gtest r570

git-svn-id: http://googlemock.googlecode.com/svn/trunk@382 8415998a-534a-0410-bf83-d39667b30386

2 years agoUpdates conditional directives to be consistent with the rest of the project.
vladlosev [Thu, 14 Apr 2011 02:42:15 +0000 (02:42 +0000)]
Updates conditional directives to be consistent with the rest of the project.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@381 8415998a-534a-0410-bf83-d39667b30386

2 years agoCorrects condition to compile out MSVC's pragmas. This fixes the build on MinGW.
vladlosev [Wed, 13 Apr 2011 22:12:00 +0000 (22:12 +0000)]
Corrects condition to compile out MSVC's pragmas. This fixes the build on MinGW.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@380 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r569
zhanyong.wan [Tue, 12 Apr 2011 21:06:18 +0000 (21:06 +0000)]
Pulls in gtest r569

git-svn-id: http://googlemock.googlecode.com/svn/trunk@379 8415998a-534a-0410-bf83-d39667b30386

2 years agoRemoves commas from last items in enums (a C++ standard compliance fix).
vladlosev [Fri, 8 Apr 2011 01:32:32 +0000 (01:32 +0000)]
Removes commas from last items in enums (a C++ standard compliance fix).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@378 8415998a-534a-0410-bf83-d39667b30386

2 years agodisables 'make install'
zhanyong.wan [Thu, 7 Apr 2011 07:37:28 +0000 (07:37 +0000)]
disables 'make install'

git-svn-id: http://googlemock.googlecode.com/svn/trunk@377 8415998a-534a-0410-bf83-d39667b30386

2 years agofixes link errors in 'make check'
zhanyong.wan [Thu, 7 Apr 2011 07:19:40 +0000 (07:19 +0000)]
fixes link errors in 'make check'

git-svn-id: http://googlemock.googlecode.com/svn/trunk@376 8415998a-534a-0410-bf83-d39667b30386

2 years agopulls in gtest r562
zhanyong.wan [Thu, 7 Apr 2011 07:18:11 +0000 (07:18 +0000)]
pulls in gtest r562

git-svn-id: http://googlemock.googlecode.com/svn/trunk@375 8415998a-534a-0410-bf83-d39667b30386

2 years agoChanges diagnostic output of the question mark from '\?' to '?'.
vladlosev [Fri, 1 Apr 2011 21:58:42 +0000 (21:58 +0000)]
Changes diagnostic output of the question mark from '\?' to '?'.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@374 8415998a-534a-0410-bf83-d39667b30386

2 years agoFixes Google Mock Doctor affected by the latest tweaks to Clang.
vladlosev [Tue, 29 Mar 2011 22:29:51 +0000 (22:29 +0000)]
Fixes Google Mock Doctor affected by the latest tweaks to Clang.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@372 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r555.
zhanyong.wan [Wed, 16 Mar 2011 17:12:03 +0000 (17:12 +0000)]
Pulls in gtest r555.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@371 8415998a-534a-0410-bf83-d39667b30386

2 years agoPrevents ADL in AllOf() and AnyOf() (by Manuel Klimek).
zhanyong.wan [Wed, 16 Mar 2011 17:10:39 +0000 (17:10 +0000)]
Prevents ADL in AllOf() and AnyOf() (by Manuel Klimek).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@370 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r554. git-svn
zhanyong.wan [Wed, 9 Mar 2011 01:18:37 +0000 (01:18 +0000)]
Pulls in gtest r554.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@369 8415998a-534a-0410-bf83-d39667b30386

2 years agoDisables SetArgPointee("string literal") for GCC 4.0- and Symbian, and
zhanyong.wan [Wed, 9 Mar 2011 01:18:08 +0000 (01:18 +0000)]
Disables SetArgPointee("string literal") for GCC 4.0- and Symbian, and
adds support for SetArgPointee(L"wide string literal") -- by Vlad Losev.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@368 8415998a-534a-0410-bf83-d39667b30386

2 years agoAdds CMake scripts to gmock's release package.
zhanyong.wan [Thu, 24 Feb 2011 21:59:54 +0000 (21:59 +0000)]
Adds CMake scripts to gmock's release package.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@367 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r550.
zhanyong.wan [Thu, 24 Feb 2011 21:40:04 +0000 (21:40 +0000)]
Pulls in gtest r550.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@366 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r549.
zhanyong.wan [Thu, 24 Feb 2011 20:51:45 +0000 (20:51 +0000)]
Pulls in gtest r549.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@365 8415998a-534a-0410-bf83-d39667b30386

2 years agoDeletes the empty scons directory.
zhanyong.wan [Thu, 24 Feb 2011 20:27:15 +0000 (20:27 +0000)]
Deletes the empty scons directory.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@364 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r548.
zhanyong.wan [Thu, 24 Feb 2011 20:26:50 +0000 (20:26 +0000)]
Pulls in gtest r548.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@363 8415998a-534a-0410-bf83-d39667b30386

2 years agoChanges gmock's version to 1.6.0 and adds release notes.
zhanyong.wan [Thu, 24 Feb 2011 07:31:48 +0000 (07:31 +0000)]
Changes gmock's version to 1.6.0 and adds release notes.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@362 8415998a-534a-0410-bf83-d39667b30386

2 years agoIndents preprocessor directives.
zhanyong.wan [Thu, 24 Feb 2011 07:29:13 +0000 (07:29 +0000)]
Indents preprocessor directives.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@361 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r544.
zhanyong.wan [Wed, 23 Feb 2011 19:41:42 +0000 (19:41 +0000)]
Pulls in gtest r544.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@360 8415998a-534a-0410-bf83-d39667b30386

2 years agoMakes Google Mock compile much faster and use much less memory; reviewed by Nico...
zhanyong.wan [Wed, 23 Feb 2011 19:39:27 +0000 (19:39 +0000)]
Makes Google Mock compile much faster and use much less memory; reviewed by Nico Weber.  This fixes issue 68.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@359 8415998a-534a-0410-bf83-d39667b30386

2 years agoAdds project files for MSVC 2010 (by Fredrik Roubert).
vladlosev [Sat, 12 Feb 2011 01:56:45 +0000 (01:56 +0000)]
Adds project files for MSVC 2010 (by Fredrik Roubert).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@357 8415998a-534a-0410-bf83-d39667b30386

2 years agoImproves cross-platform compatibility of gmock output. This fixes issue 135.
vladlosev [Fri, 11 Feb 2011 23:50:38 +0000 (23:50 +0000)]
Improves cross-platform compatibility of gmock output. This fixes issue 135.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@356 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r539.
zhanyong.wan [Wed, 2 Feb 2011 01:26:38 +0000 (01:26 +0000)]
Pulls in gtest r539.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@355 8415998a-534a-0410-bf83-d39667b30386

2 years agoPicks up gtest r536; renames implicit_cast and down_cast to reduce the chance of...
zhanyong.wan [Tue, 1 Feb 2011 00:00:03 +0000 (00:00 +0000)]
Picks up gtest r536; renames implicit_cast and down_cast to reduce the chance of clash (by Roman Perepelitsa); enables gmock_gen.py to handle storage specifiers (by Steve Fox).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@354 8415998a-534a-0410-bf83-d39667b30386

2 years agoEnables SetArgPointee<>() to accept a string literal; removes a self-assignment warni...
zhanyong.wan [Thu, 2 Dec 2010 23:30:50 +0000 (23:30 +0000)]
Enables SetArgPointee<>() to accept a string literal; removes a self-assignment warning; teaches gmock doctor to diagnose TTB with Clang; picks up gtest r525.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@352 8415998a-534a-0410-bf83-d39667b30386

2 years agoAdds comment clarifying the use of default-constructed matchers.
vladlosev [Wed, 17 Nov 2010 23:29:21 +0000 (23:29 +0000)]
Adds comment clarifying the use of default-constructed matchers.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@348 8415998a-534a-0410-bf83-d39667b30386

2 years agoAdds action SaveArgPointee.
zhanyong.wan [Thu, 14 Oct 2010 06:51:27 +0000 (06:51 +0000)]
Adds action SaveArgPointee.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@344 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r492.
zhanyong.wan [Mon, 11 Oct 2010 06:29:59 +0000 (06:29 +0000)]
Pulls in gtest r492.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@343 8415998a-534a-0410-bf83-d39667b30386

2 years agoFixes an include order problem in CMakeLists.txt; pulls in gtest r489.
zhanyong.wan [Tue, 5 Oct 2010 19:24:04 +0000 (19:24 +0000)]
Fixes an include order problem in CMakeLists.txt; pulls in gtest r489.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@330 8415998a-534a-0410-bf83-d39667b30386

2 years agoAdds more tests for the gmock generator.
zhanyong.wan [Tue, 5 Oct 2010 19:21:38 +0000 (19:21 +0000)]
Adds more tests for the gmock generator.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@329 8415998a-534a-0410-bf83-d39667b30386

2 years agoEnables gmock_gen to handle return types that are templates (based on Pride Haveit...
zhanyong.wan [Tue, 5 Oct 2010 06:11:56 +0000 (06:11 +0000)]
Enables gmock_gen to handle return types that are templates (based on Pride Haveit's patch); also fixes deprecation warnings when using gmock_gen with python 2.6 (by Aaron Jacobs).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@328 8415998a-534a-0410-bf83-d39667b30386

2 years agoAdds SetArgPointee to replace SetArgumentPointee.
zhanyong.wan [Tue, 5 Oct 2010 05:58:51 +0000 (05:58 +0000)]
Adds SetArgPointee to replace SetArgumentPointee.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@327 8415998a-534a-0410-bf83-d39667b30386

2 years agoFactors out email address in Google Mock Doctor messages.
vladlosev [Wed, 29 Sep 2010 00:38:12 +0000 (00:38 +0000)]
Factors out email address in Google Mock Doctor messages.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@326 8415998a-534a-0410-bf83-d39667b30386

2 years agoFixes issue 105.
zhanyong.wan [Mon, 27 Sep 2010 22:10:44 +0000 (22:10 +0000)]
Fixes issue 105.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@325 8415998a-534a-0410-bf83-d39667b30386

2 years agoPrints the type of the actual value as part of a match message when appropriate.
zhanyong.wan [Mon, 27 Sep 2010 17:44:16 +0000 (17:44 +0000)]
Prints the type of the actual value as part of a match message when appropriate.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@324 8415998a-534a-0410-bf83-d39667b30386

2 years agoUpdates the gMock Doctor script to understand Clang error messages.
vladlosev [Sat, 25 Sep 2010 00:52:20 +0000 (00:52 +0000)]
Updates the gMock Doctor script to understand Clang error messages.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@323 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls in gtest r484.
zhanyong.wan [Wed, 15 Sep 2010 04:57:32 +0000 (04:57 +0000)]
Pulls in gtest r484.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@322 8415998a-534a-0410-bf83-d39667b30386

2 years agoInclude gtest and gmock headers as user headers instead of system headers.
zhanyong.wan [Tue, 14 Sep 2010 05:38:21 +0000 (05:38 +0000)]
Include gtest and gmock headers as user headers instead of system headers.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@320 8415998a-534a-0410-bf83-d39667b30386

2 years agoSimplifies the VC projects by using gmock-all.cc and
zhanyong.wan [Thu, 9 Sep 2010 22:16:17 +0000 (22:16 +0000)]
Simplifies the VC projects by using gmock-all.cc and
gmock_all_test.cc.  Also fixes a missing include directory for
gmock_main in the Release mode.  I had to add /bigobj to
gmock_test.vcproj to make the compiler happy, as we now need to
generate code for many functions in the same translation unit.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@319 8415998a-534a-0410-bf83-d39667b30386

2 years agopulls in gtest r481.
zhanyong.wan [Wed, 8 Sep 2010 06:00:55 +0000 (06:00 +0000)]
pulls in gtest r481.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@314 8415998a-534a-0410-bf83-d39667b30386

2 years agoPublishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); casts char to unsigned char...
zhanyong.wan [Tue, 31 Aug 2010 18:28:02 +0000 (18:28 +0000)]
Publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); casts char to unsigned char before calling isspace() etc to avoid undefined behavior (by Zhanyong Wan); fixes the VC projects (by Fredrik Roubert).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@313 8415998a-534a-0410-bf83-d39667b30386

2 years agoRemoves some gmock internal macros; sorts the file lists in Makefile.am; picks up...
zhanyong.wan [Mon, 9 Aug 2010 22:46:12 +0000 (22:46 +0000)]
Removes some gmock internal macros; sorts the file lists in Makefile.am; picks up gtest r454.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@311 8415998a-534a-0410-bf83-d39667b30386

2 years agoPicks up gtest r453.
zhanyong.wan [Mon, 9 Aug 2010 18:20:45 +0000 (18:20 +0000)]
Picks up gtest r453.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@310 8415998a-534a-0410-bf83-d39667b30386

2 years agoRemoves unused scons scripts; picks up gtest r446.
zhanyong.wan [Wed, 21 Jul 2010 22:21:07 +0000 (22:21 +0000)]
Removes unused scons scripts; picks up gtest r446.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@308 8415998a-534a-0410-bf83-d39667b30386

2 years agoImplements ReturnPointee() and ReturnRefOfCopy().
zhanyong.wan [Sat, 3 Jul 2010 00:16:42 +0000 (00:16 +0000)]
Implements ReturnPointee() and ReturnRefOfCopy().

git-svn-id: http://googlemock.googlecode.com/svn/trunk@306 8415998a-534a-0410-bf83-d39667b30386

2 years agoIncreases the maximum arity of AllOf() and AnyOf() to 10, by Marcus Börger.
zhanyong.wan [Wed, 9 Jun 2010 19:21:30 +0000 (19:21 +0000)]
Increases the maximum arity of AllOf() and AnyOf() to 10, by Marcus Börger.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@305 8415998a-534a-0410-bf83-d39667b30386

2 years agoReplaces Python-style interpolation with arbitrary C++ string expression in MATCHER...
zhanyong.wan [Tue, 8 Jun 2010 22:53:57 +0000 (22:53 +0000)]
Replaces Python-style interpolation with arbitrary C++ string expression in MATCHER* descriptions.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@303 8415998a-534a-0410-bf83-d39667b30386

2 years agoPulls r435 of gtest. This brings in the gtest_force_shared_crt option in CMake.
vladlosev [Thu, 20 May 2010 22:39:37 +0000 (22:39 +0000)]
Pulls r435 of gtest. This brings in the gtest_force_shared_crt option in CMake.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@300 8415998a-534a-0410-bf83-d39667b30386

2 years agoFixes build failure on Windows/CMake (issue 111).
vladlosev [Thu, 20 May 2010 22:17:28 +0000 (22:17 +0000)]
Fixes build failure on Windows/CMake (issue 111).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@299 8415998a-534a-0410-bf83-d39667b30386

3 years agoImplements Pointwise().
zhanyong.wan [Mon, 17 May 2010 19:32:48 +0000 (19:32 +0000)]
Implements Pointwise().

git-svn-id: http://googlemock.googlecode.com/svn/trunk@297 8415998a-534a-0410-bf83-d39667b30386

3 years agoAdds CMake build script.
vladlosev [Thu, 13 May 2010 18:19:26 +0000 (18:19 +0000)]
Adds CMake build script.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@296 8415998a-534a-0410-bf83-d39667b30386

3 years agoRenames test script flags.
vladlosev [Thu, 13 May 2010 18:16:03 +0000 (18:16 +0000)]
Renames test script flags.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@295 8415998a-534a-0410-bf83-d39667b30386

3 years agoMoves the universal printer from gmock to gtest (by Vlad Losev).
zhanyong.wan [Mon, 10 May 2010 17:14:29 +0000 (17:14 +0000)]
Moves the universal printer from gmock to gtest (by Vlad Losev).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@294 8415998a-534a-0410-bf83-d39667b30386

3 years agoFixes tests leaking altered values of GMOCK_FLAG(verbose) (issue 110).
vladlosev [Wed, 5 May 2010 19:47:46 +0000 (19:47 +0000)]
Fixes tests leaking altered values of GMOCK_FLAG(verbose) (issue 110).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@293 8415998a-534a-0410-bf83-d39667b30386

3 years agoAdds a synchronization test.
vladlosev [Tue, 4 May 2010 16:05:11 +0000 (16:05 +0000)]
Adds a synchronization test.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@292 8415998a-534a-0410-bf83-d39667b30386

3 years agoAdds Each(m) (by Wojtek Moczydlowski); removes scripts/test/Makefile (by Zhanyong...
zhanyong.wan [Thu, 22 Apr 2010 23:37:47 +0000 (23:37 +0000)]
Adds Each(m) (by Wojtek Moczydlowski); removes scripts/test/Makefile (by Zhanyong Wan); pulls in gtest r424.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@290 8415998a-534a-0410-bf83-d39667b30386

3 years agoFixes a typo in README.
vladlosev [Fri, 16 Apr 2010 16:21:17 +0000 (16:21 +0000)]
Fixes a typo in README.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@286 8415998a-534a-0410-bf83-d39667b30386

3 years agoImproves Makefile.am (by Vlad Losev); fixes Makefile and updates README (by Zhanyong...
zhanyong.wan [Wed, 14 Apr 2010 16:26:57 +0000 (16:26 +0000)]
Improves Makefile.am (by Vlad Losev); fixes Makefile and updates README (by Zhanyong Wan).

git-svn-id: http://googlemock.googlecode.com/svn/trunk@284 8415998a-534a-0410-bf83-d39667b30386

3 years agoPulls in gtest r408, with the ThreadLocal leak fix.
zhanyong.wan [Fri, 26 Mar 2010 20:26:22 +0000 (20:26 +0000)]
Pulls in gtest r408, with the ThreadLocal leak fix.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@282 8415998a-534a-0410-bf83-d39667b30386

3 years agoUpdates the release notes.
zhanyong.wan [Fri, 26 Mar 2010 05:38:55 +0000 (05:38 +0000)]
Updates the release notes.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@281 8415998a-534a-0410-bf83-d39667b30386