Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds matchers UnorderedElementsAre[Array]() (by Billy Donahue); pulls in | zhanyong.wan | 2013-07-28 | 1 | -0/+361 |
| | | | | gtest r660. | ||||
* | Adds special support for matching StringPiece. Pulls in gtest r646. | zhanyong.wan | 2013-03-25 | 1 | -0/+35 |
| | |||||
* | Improves the tests for nice, naggy, and strict mocks. | zhanyong.wan | 2013-03-01 | 1 | -1/+1 |
| | |||||
* | Unfortunately, the svn repo is a bit out of date. This commit contains 8 | jgm | 2012-11-15 | 1 | -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.wan | 2012-05-31 | 2 | -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 ↵ | jgm | 2012-04-10 | 2 | -1/+3 |
| | | | | some formatting changes. | ||||
* | Fixes a lock reentrancy when destroying a mock causes destruction of another ↵ | vladlosev | 2011-10-24 | 1 | -1/+15 |
| | | | | mock (issue 79) (by Aaron Jacobs). | ||||
* | Expressed the thread-safety annotations in code, replacing the existing ↵ | vladlosev | 2011-10-24 | 1 | -52/+52 |
| | | | | comment-based system (by Aaron Jacobs). | ||||
* | Adds support for building Google Mock as a shared library (DLL). | vladlosev | 2011-05-20 | 6 | -22/+24 |
| | |||||
* | Indents preprocessor directives. | zhanyong.wan | 2011-02-24 | 2 | -2/+2 |
| | |||||
* | Makes Google Mock compile much faster and use much less memory; reviewed by ↵ | zhanyong.wan | 2011-02-23 | 1 | -3/+335 |
| | | | | Nico Weber. This fixes issue 68. | ||||
* | Include gtest and gmock headers as user headers instead of system headers. | zhanyong.wan | 2010-09-14 | 7 | -17/+17 |
| | |||||
* | Publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); casts char to ↵ | zhanyong.wan | 2010-08-31 | 1 | -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.wan | 2010-06-08 | 1 | -100/+11 |
| | | | | MATCHER* descriptions. | ||||
* | Moves the universal printer from gmock to gtest (by Vlad Losev). | zhanyong.wan | 2010-05-10 | 2 | -319/+0 |
| | |||||
* | Adds threading support (by Vlad Losev); updates the version number (by ↵ | zhanyong.wan | 2010-02-24 | 2 | -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.wan | 2009-12-23 | 2 | -11/+11 |
| | | | | scons build. | ||||
* | Removes uses of GTEST_HAS_STD_STRING. | zhanyong.wan | 2009-12-16 | 1 | -2/+0 |
| | |||||
* | Fixes Cygwin compatibility (by Vlad Losev); Improves Python tests (by Vlad ↵ | zhanyong.wan | 2009-12-01 | 1 | -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.wan | 2009-11-10 | 1 | -0/+5 |
| | |||||
* | Enables more verbose output for expectations (by Sverre Sundsdal); Fixes ↵ | vladlosev | 2009-10-21 | 1 | -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.wan | 2009-10-01 | 1 | -0/+8 |
| | |||||
* | Simplifies gmock code using gtest's OS-indicating macros. | zhanyong.wan | 2009-09-24 | 2 | -4/+4 |
| | |||||
* | Picks up gtest r314. | zhanyong.wan | 2009-09-18 | 1 | -2/+6 |
| | |||||
* | Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad ↵ | zhanyong.wan | 2009-09-16 | 1 | -2/+2 |
| | | | | Losev). | ||||
* | Depends on gtest r300, which allows String to contain NUL. | zhanyong.wan | 2009-09-01 | 1 | -1/+1 |
| | |||||
* | Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵ | zhanyong.wan | 2009-08-31 | 1 | -2/+4 |
| | | | | Enables gMock to compile with VC 7.1 (by Vlad Losev). | ||||
* | Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes ↵ | zhanyong.wan | 2009-08-07 | 2 | -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.wan | 2009-07-01 | 1 | -18/+16 |
| | | | | orders. | ||||
* | Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵ | zhanyong.wan | 2009-06-09 | 1 | -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.wan | 2009-05-29 | 3 | -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.wan | 2009-05-05 | 1 | -2/+18 |
| | | | | Zhanyong Wan). | ||||
* | Turns --gmock_catch_leaked_mocks on by default. | zhanyong.wan | 2009-04-29 | 1 | -3/+1 |
| | |||||
* | Implements --gmock_catch_leaked_mocks and Mock::AllowLeak. | zhanyong.wan | 2009-04-22 | 2 | -13/+142 |
| | |||||
* | Makes the code compile on Windows CE. | zhanyong.wan | 2009-03-11 | 2 | -5/+20 |
| | |||||
* | Cleans up macro definitions. | zhanyong.wan | 2009-02-23 | 1 | -1/+1 |
| | |||||
* | Implements custom description string for MATCHER*. | zhanyong.wan | 2009-02-19 | 1 | -2/+143 |
| | |||||
* | Makes sure all internal macros are named GMOCK_*_. No functionality is changed. | zhanyong.wan | 2009-02-19 | 1 | -6/+6 |
| | |||||
* | Implements the MATCHER* macros. | zhanyong.wan | 2009-02-12 | 1 | -0/+24 |
| | |||||
* | Initial drop of Google Mock. The files are incomplete and thus may not ↵ | shiqian | 2008-12-10 | 8 | -0/+1238 |
build correctly yet. |