zhanyong.wan
c10a35a26a
Fixes some compatibility issues with STLport.
12 years ago
zhanyong.wan
a9a59e06dd
Makes WhenSorted() support associative containers (by billydonahue@google.com).
12 years ago
zhanyong.wan
1f122a06e6
Adds special support for matching StringPiece. Pulls in gtest r646.
12 years ago
zhanyong.wan
2eab17b76d
Removes an unnecessary semi-colon, which causes a warning in GCC's pedantic mode.
12 years ago
zhanyong.wan
a1a98f840e
Adds a cmake target for gmock_ex_test; also fixes name shadowing warnings.
12 years ago
zhanyong.wan
c896504e41
Improves the tests for nice, naggy, and strict mocks.
12 years ago
zhanyong.wan
20d1a235bc
Allows the return type of a mock method to contain unprotected commas.
12 years ago
zhanyong.wan
29be92385e
Removes unused variables and functions.
12 years ago
zhanyong.wan
844fa94976
Implements NaggyMock.
12 years ago
zhanyong.wan
a31d9ce290
Implements matcher SizeIs().
12 years ago
zhanyong.wan
83f6b08b5f
Clarifies how to implement MatcherInterface.
12 years ago
zhanyong.wan
320814aca0
Implements matcher IsEmpty(); also pulls in gtest r643.
12 years ago
zhanyong.wan
edd4ab4945
Makes googlemock throw a runtime_error instead of abort when a mock
...
method with no default value is invoked (if exceptions are enabled).
12 years ago
zhanyong.wan
cf40604cf0
Adds -pthread and switches -I to -isystem in build instructions;
...
also pulls in the latest gtest revision (r638).
12 years ago
vladlosev
40fa8ffc9e
Adds the LICENSE file to the distribution.
12 years ago
jgm
38513a8bb1
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.
12 years ago
vladlosev
ada23475e2
Makes gmock's Pointee() work for optional<T> (by Jeffrey Yasskin).
13 years ago
zhanyong.wan
2fd619edd3
Pulls in gtest r615.
...
Renames internal enums to the kFoo naming style.
Fixes gmock doctor to work with newer versions of Clang.
13 years ago
jgm
79a367eb21
Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes.
13 years ago
vladlosev
9bcb5f9146
Fixes a lock reentrancy when destroying a mock causes destruction of another mock (issue 79) (by Aaron Jacobs).
14 years ago
vladlosev
4d60a596b4
Expressed the thread-safety annotations in code, replacing the existing comment-based system (by Aaron Jacobs).
14 years ago
vladlosev
f44bdc7398
Fixed Google Mock Doctor Clang regexes to work on both k8 and piii (by Greg Miller).
14 years ago
vladlosev
0fd8396827
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).
14 years ago
zhanyong.wan
898725cf47
Implements matchers WhenSorted() and WhenSortedBy(); pulls in gtest r595.
14 years ago
vladlosev
5aa8dd99e2
Renames the license files.
14 years ago
vladlosev
eca38cd7ec
More Clang support improvements in Google Mock Doctor.
14 years ago
vladlosev
787146bdb7
Improves support for Clang in Google Mock Doctor.
14 years ago
vladlosev
f4eeaedb39
Fixes issue 139 and issue 140.
14 years ago
vladlosev
bce8134d89
Adds a DLL-related section to Google Mock's README.
14 years ago
vladlosev
587c1b37c2
Adds support for building Google Mock as a shared library (DLL).
14 years ago
vladlosev
47be72a952
A test to verify correcteness of Google Mock on multiple threads.
14 years ago
vladlosev
a63da04126
Makes generation of fused sources contingent on availability of Python and pulls in gtest r580.
14 years ago
zhanyong.wan
8d3dc0cdd8
simplifies TrulyMatcher and adds a test for it
14 years ago
zhanyong.wan
8d7c5ad6d3
Documents latest changes and pulls in gtest r570
14 years ago
vladlosev
dd28d536eb
Updates conditional directives to be consistent with the rest of the project.
14 years ago
vladlosev
e73cf452a5
Corrects condition to compile out MSVC's pragmas. This fixes the build on MinGW.
14 years ago
vladlosev
ab29bb6fcd
Removes commas from last items in enums (a C++ standard compliance fix).
14 years ago
zhanyong.wan
52277c919e
disables 'make install'
14 years ago
zhanyong.wan
8e68753288
fixes link errors in 'make check'
14 years ago
vladlosev
aa43220fe5
Changes diagnostic output of the question mark from '\?' to '?'.
14 years ago
vladlosev
71d08627a3
Fixes Google Mock Doctor affected by the latest tweaks to Clang.
14 years ago
zhanyong.wan
86d2eeb112
Prevents ADL in AllOf() and AnyOf() (by Manuel Klimek).
14 years ago
zhanyong.wan
fc8c6c479a
Disables SetArgPointee("string literal") for GCC 4.0- and Symbian, and
...
adds support for SetArgPointee(L"wide string literal") -- by Vlad Losev.
14 years ago
zhanyong.wan
62a35fbc5d
Adds CMake scripts to gmock's release package.
14 years ago
zhanyong.wan
79d82b6ef7
Changes gmock's version to 1.6.0 and adds release notes.
14 years ago
zhanyong.wan
658ac0b71a
Indents preprocessor directives.
14 years ago
zhanyong.wan
ed6c9277bb
Makes Google Mock compile much faster and use much less memory; reviewed by Nico Weber. This fixes issue 68.
14 years ago
vladlosev
b3e904227f
Adds project files for MSVC 2010 (by Fredrik Roubert).
14 years ago
vladlosev
e5121b5a82
Improves cross-platform compatibility of gmock output. This fixes issue 135.
14 years ago
zhanyong.wan
5b61ce3ee5
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).
14 years ago