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
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
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
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
Adds the LICENSE file to the distribution.

git-svn-id: http://googlemock.googlecode.com/svn/trunk@412 8415998a-534a-0410-bf83-d39667b30386
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
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
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
Implements matcher IsEmpty(); also pulls in gtest r643.


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


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


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


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


git-svn-id: http://googlemock.googlecode.com/svn/trunk@420 8415998a-534a-0410-bf83-d39667b30386
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
Improves the tests for nice, naggy, and strict mocks.


git-svn-id: http://googlemock.googlecode.com/svn/trunk@422 8415998a-534a-0410-bf83-d39667b30386
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
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