aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixes some compatibility issues with STLport.zhanyong.wan2013-04-041-3/+3
|
* Makes WhenSorted() support associative containers (by billydonahue@google.com).zhanyong.wan2013-03-271-0/+161
|
* Adds special support for matching StringPiece. Pulls in gtest r646.zhanyong.wan2013-03-251-0/+38
|
* Adds a cmake target for gmock_ex_test; also fixes name shadowing warnings.zhanyong.wan2013-03-011-7/+7
|
* Improves the tests for nice, naggy, and strict mocks.zhanyong.wan2013-03-013-23/+74
|
* Allows the return type of a mock method to contain unprotected commas.zhanyong.wan2013-03-011-1/+49
|
* Removes unused variables and functions.zhanyong.wan2013-03-013-57/+27
|
* Implements NaggyMock.zhanyong.wan2013-03-011-6/+100
|
* Implements matcher SizeIs().zhanyong.wan2013-03-011-0/+59
|
* Implements matcher IsEmpty(); also pulls in gtest r643.zhanyong.wan2013-03-011-0/+34
|
* Makes googlemock throw a runtime_error instead of abort when a mockzhanyong.wan2013-02-283-94/+257
| | | | | method with no default value is invoked (if exceptions are enabled).
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm2012-11-155-34/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Makes gmock's Pointee() work for optional<T> (by Jeffrey Yasskin).vladlosev2012-08-141-0/+32
|
* Pulls in gtest r615.zhanyong.wan2012-05-311-17/+17
| | | | | | 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-106-42/+104
| | | | some formatting changes.
* Fixes a lock reentrancy when destroying a mock causes destruction of another ↵vladlosev2011-10-241-1/+52
| | | | mock (issue 79) (by Aaron Jacobs).
* Implements matchers WhenSorted() and WhenSortedBy(); pulls in gtest r595.zhanyong.wan2011-09-161-0/+81
|
* Adds support for building Google Mock as a shared library (DLL).vladlosev2011-05-201-1/+1
|
* A test to verify correcteness of Google Mock on multiple threads.vladlosev2011-05-111-0/+322
|
* simplifies TrulyMatcher and adds a test for itzhanyong.wan2011-04-141-0/+23
|
* Changes diagnostic output of the question mark from '\?' to '?'.vladlosev2011-04-011-6/+6
|
* Prevents ADL in AllOf() and AnyOf() (by Manuel Klimek).zhanyong.wan2011-03-161-0/+29
|
* Disables SetArgPointee("string literal") for GCC 4.0- and Symbian, andzhanyong.wan2011-03-091-5/+46
| | | | adds support for SetArgPointee(L"wide string literal") -- by Vlad Losev.
* Indents preprocessor directives.zhanyong.wan2011-02-246-24/+30
|
* Makes Google Mock compile much faster and use much less memory; reviewed by ↵zhanyong.wan2011-02-232-6/+54
| | | | Nico Weber. This fixes issue 68.
* Improves cross-platform compatibility of gmock output. This fixes issue 135.vladlosev2011-02-111-10/+38
|
* Enables SetArgPointee<>() to accept a string literal; removes a ↵zhanyong.wan2010-12-022-1/+38
| | | | self-assignment warning; teaches gmock doctor to diagnose TTB with Clang; picks up gtest r525.
* Adds action SaveArgPointee.zhanyong.wan2010-10-141-0/+27
|
* Adds SetArgPointee to replace SetArgumentPointee.zhanyong.wan2010-10-054-53/+172
|
* Prints the type of the actual value as part of a match message when appropriate.zhanyong.wan2010-09-271-28/+73
|
* Include gtest and gmock headers as user headers instead of system headers.zhanyong.wan2010-09-1416-52/+52
|
* Publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); casts char to ↵zhanyong.wan2010-08-313-16/+16
| | | | unsigned char before calling isspace() etc to avoid undefined behavior (by Zhanyong Wan); fixes the VC projects (by Fredrik Roubert).
* Picks up gtest r453.zhanyong.wan2010-08-091-1/+1
|
* Removes unused scons scripts; picks up gtest r446.zhanyong.wan2010-07-212-3/+3
|
* Implements ReturnPointee() and ReturnRefOfCopy().zhanyong.wan2010-07-032-0/+35
|
* Increases the maximum arity of AllOf() and AnyOf() to 10, by Marcus Börger.zhanyong.wan2010-06-091-0/+51
|
* Replaces Python-style interpolation with arbitrary C++ string expression in ↵zhanyong.wan2010-06-082-361/+27
| | | | MATCHER* descriptions.
* Implements Pointwise().zhanyong.wan2010-05-173-47/+172
|
* Renames test script flags.vladlosev2010-05-132-59/+3
|
* Moves the universal printer from gmock to gtest (by Vlad Losev).zhanyong.wan2010-05-105-1552/+7
|
* Fixes tests leaking altered values of GMOCK_FLAG(verbose) (issue 110).vladlosev2010-05-053-15/+25
|
* Adds a synchronization test.vladlosev2010-05-041-2/+16
|
* Adds Each(m) (by Wojtek Moczydlowski); removes scripts/test/Makefile (by ↵zhanyong.wan2010-04-221-7/+95
| | | | Zhanyong Wan); pulls in gtest r424.
* Improves matcher messages across the board.zhanyong.wan2010-03-243-147/+381
|
* Fixes the explanation generated by many composite matchers (by Manuel ↵zhanyong.wan2010-03-163-47/+81
| | | | Klimek); publishes the gmock value printer as testing::PrintToString() (by Zhanyong Wan).
* Adds IsInterested() to MatchResultListener; clarifies the format of matcher ↵zhanyong.wan2010-03-151-8/+45
| | | | description and match result explanation; renames the free function MatchAndExplain() to ExplainMatchResult() to avoid it being hidden inside a MATCHER* definition.
* Adds a free function MatchAndExplain().zhanyong.wan2010-03-051-2/+26
|
* Enables tests depending on stdout capturing (by Vlad Losev).zhanyong.wan2010-02-023-117/+124
|
* BREAKING CHANGE: drops the old matcher API. See ↵zhanyong.wan2010-01-282-37/+38
| | | | http://code.google.com/p/googlemock/wiki/FrequentlyAskedQuestions for details.
* Enables regex matchers on all platforms.zhanyong.wan2010-01-143-26/+18
|