aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Adds matchers UnorderedElementsAre[Array]() (by Billy Donahue); pulls inzhanyong.wan2013-07-281-0/+361
| | | | gtest r660.
* Adds special support for matching StringPiece. Pulls in gtest r646.zhanyong.wan2013-03-251-0/+35
|
* Improves the tests for nice, naggy, and strict mocks.zhanyong.wan2013-03-011-1/+1
|
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm2012-11-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Pulls in gtest r615.zhanyong.wan2012-05-312-17/+18
| | | | | | 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-102-1/+3
| | | | some formatting changes.
* Fixes a lock reentrancy when destroying a mock causes destruction of another ↵vladlosev2011-10-241-1/+15
| | | | mock (issue 79) (by Aaron Jacobs).
* Expressed the thread-safety annotations in code, replacing the existing ↵vladlosev2011-10-241-52/+52
| | | | comment-based system (by Aaron Jacobs).
* Adds support for building Google Mock as a shared library (DLL).vladlosev2011-05-206-22/+24
|
* Indents preprocessor directives.zhanyong.wan2011-02-242-2/+2
|
* Makes Google Mock compile much faster and use much less memory; reviewed by ↵zhanyong.wan2011-02-231-3/+335
| | | | Nico Weber. This fixes issue 68.
* Include gtest and gmock headers as user headers instead of system headers.zhanyong.wan2010-09-147-17/+17
|
* Publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); casts char to ↵zhanyong.wan2010-08-311-5/+5
| | | | unsigned char before calling isspace() etc to avoid undefined behavior (by Zhanyong Wan); fixes the VC projects (by Fredrik Roubert).
* Replaces Python-style interpolation with arbitrary C++ string expression in ↵zhanyong.wan2010-06-081-100/+11
| | | | MATCHER* descriptions.
* Moves the universal printer from gmock to gtest (by Vlad Losev).zhanyong.wan2010-05-102-319/+0
|
* Adds threading support (by Vlad Losev); updates the version number (by ↵zhanyong.wan2010-02-242-2/+2
| | | | Zhanyong Wan); adds release notes for 1.5.0 (by Vlad Losev).
* Fixes a slew of compiler warnings and turns on "warning as error" in the ↵zhanyong.wan2009-12-232-11/+11
| | | | scons build.
* Removes uses of GTEST_HAS_STD_STRING.zhanyong.wan2009-12-161-2/+0
|
* Fixes Cygwin compatibility (by Vlad Losev); Improves Python tests (by Vlad ↵zhanyong.wan2009-12-011-12/+0
| | | | Losev); Fixes ambiguous call to implicit_cast; Uses gtest's SkipPrefix() instead gmock's own (by Vlad Losev).
* Makes gmock-all.cc catch errors in fuse_gmock.py.zhanyong.wan2009-11-101-0/+5
|
* Enables more verbose output for expectations (by Sverre Sundsdal); Fixes ↵vladlosev2009-10-211-1/+5
| | | | information loss warning when compiled by VC8.0 with /Wp64; Skips two tests on Windows Mobile that don't work there.
* Works around a Symbian compiler bug that causes memory leak (by Mika Raento).zhanyong.wan2009-10-011-0/+8
|
* Simplifies gmock code using gtest's OS-indicating macros.zhanyong.wan2009-09-242-4/+4
|
* Picks up gtest r314.zhanyong.wan2009-09-181-2/+6
|
* Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad ↵zhanyong.wan2009-09-161-2/+2
| | | | Losev).
* Depends on gtest r300, which allows String to contain NUL.zhanyong.wan2009-09-011-1/+1
|
* Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵zhanyong.wan2009-08-311-2/+4
| | | | Enables gMock to compile with VC 7.1 (by Vlad Losev).
* Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes ↵zhanyong.wan2009-08-072-9/+11
| | | | gmock compilable on platforms that don't have ::abort() (by Acadeli Checa); Fixes compatibility with Symbian's STLport (by Acadeli Checa).
* Implements Expectation, ExpectationSet, and After for specifying expectation ↵zhanyong.wan2009-07-011-18/+16
| | | | orders.
* Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵zhanyong.wan2009-06-091-7/+10
| | | | as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian.
* Avoids unnecessary printing of call into to internal buffers;zhanyong.wan2009-05-293-12/+24
| | | | | | Made the universal value printer safer when printing char[]; Removed duplicated code in InvokeWith; Improved gmock_doctor.py.
* Improves the error message for leaked mocks to include the test name (by ↵zhanyong.wan2009-05-051-2/+18
| | | | Zhanyong Wan).
* Turns --gmock_catch_leaked_mocks on by default.zhanyong.wan2009-04-291-3/+1
|
* Implements --gmock_catch_leaked_mocks and Mock::AllowLeak.zhanyong.wan2009-04-222-13/+142
|
* Makes the code compile on Windows CE.zhanyong.wan2009-03-112-5/+20
|
* Cleans up macro definitions.zhanyong.wan2009-02-231-1/+1
|
* Implements custom description string for MATCHER*.zhanyong.wan2009-02-191-2/+143
|
* Makes sure all internal macros are named GMOCK_*_. No functionality is changed.zhanyong.wan2009-02-191-6/+6
|
* Implements the MATCHER* macros.zhanyong.wan2009-02-121-0/+24
|
* Initial drop of Google Mock. The files are incomplete and thus may not ↵shiqian2008-12-108-0/+1238
build correctly yet.