aboutsummaryrefslogtreecommitdiffstats
path: root/test/gmock-generated-matchers_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Export tuple and friends in the ::testing namespace.kosak2014-04-021-5/+5
|
* Distinguish between C++11 language and library support for <initializer_list>.kosak2013-12-041-2/+2
| | | | | Fix spelling: repositary -> repository. Pull in gtest 671.
* Fix warnings encountered with clang -Wall, and pull in gtest 670.kosak2013-12-031-22/+19
|
* Makes some container matchers accept initializer lists in C++11 mode and ↵zhanyong.wan2013-08-081-0/+39
| | | | work with stream-like containers that don't have size() or empty(); exposes StringMatchResultListener for defining composite matchers.
* Adds matchers UnorderedElementsAre[Array]() (by Billy Donahue); pulls inzhanyong.wan2013-07-281-5/+6
| | | | gtest r660.
* Removes unused variables and functions.zhanyong.wan2013-03-011-0/+13
|
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm2012-11-151-1/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Reduced template instantiation depth for the AllOf and AnyOf matchers. Also ↵jgm2012-04-101-0/+14
| | | | some formatting changes.
* Prevents ADL in AllOf() and AnyOf() (by Manuel Klimek).zhanyong.wan2011-03-161-0/+29
|
* Indents preprocessor directives.zhanyong.wan2011-02-241-3/+3
|
* Include gtest and gmock headers as user headers instead of system headers.zhanyong.wan2010-09-141-4/+4
|
* Removes unused scons scripts; picks up gtest r446.zhanyong.wan2010-07-211-1/+1
|
* Replaces Python-style interpolation with arbitrary C++ string expression in ↵zhanyong.wan2010-06-081-76/+21
| | | | MATCHER* descriptions.
* Implements Pointwise().zhanyong.wan2010-05-171-4/+5
|
* Improves matcher messages across the board.zhanyong.wan2010-03-241-20/+65
|
* Fixes the explanation generated by many composite matchers (by Manuel ↵zhanyong.wan2010-03-161-3/+1
| | | | Klimek); publishes the gmock value printer as testing::PrintToString() (by Zhanyong Wan).
* BREAKING CHANGE: drops the old matcher API. See ↵zhanyong.wan2010-01-281-6/+8
| | | | http://code.google.com/p/googlemock/wiki/FrequentlyAskedQuestions for details.
* Implements the new matcher API.zhanyong.wan2010-01-081-0/+52
|
* Fixes a slew of compiler warnings and turns on "warning as error" in the ↵zhanyong.wan2009-12-231-7/+16
| | | | scons build.
* Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵zhanyong.wan2009-06-091-1/+1
| | | | as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian.
* Implements the Args<k1, ..., kn>(m) matcher.zhanyong.wan2009-06-091-2/+107
|
* Makes all container matchers work with (possibly multi-dimensional) native ↵zhanyong.wan2009-06-041-8/+115
| | | | arrays; makes Contains() accept a matcher; adds Value(x, m); improves gmock doctor to diagnose the Type in Template Base disease.
* Implements Contains(element) matcher. By Gary Morain.zhanyong.wan2009-02-201-0/+96
|
* Implements custom description string for MATCHER*.zhanyong.wan2009-02-191-17/+44
|
* Implements the MATCHER* macros.zhanyong.wan2009-02-121-0/+338
|
* Initial drop of Google Mock. The files are incomplete and thus may not ↵shiqian2008-12-101-0/+373
build correctly yet.