zhanyong.wan | 5905ba0 | 2010-02-24 17:21:37 +0000 | [diff] [blame] | 1 | Changes for 1.5.0: |
| 2 | |
zhanyong.wan | aa28b17 | 2010-03-26 05:38:55 +0000 | [diff] [blame] | 3 | * New feature: Google Mock can be safely used in multi-threaded tests |
| 4 | on platforms having pthreads. |
| 5 | * New feature: function for printing a value of arbitrary type. |
| 6 | * New feature: function ExplainMatchResult() for easy definition of |
| 7 | composite matchers. |
zhanyong.wan | 5905ba0 | 2010-02-24 17:21:37 +0000 | [diff] [blame] | 8 | * The new matcher API lets user-defined matchers generate custom |
| 9 | explanations more directly and efficiently. |
zhanyong.wan | aa28b17 | 2010-03-26 05:38:55 +0000 | [diff] [blame] | 10 | * Better failure messages all around. |
zhanyong.wan | 5905ba0 | 2010-02-24 17:21:37 +0000 | [diff] [blame] | 11 | * NotNull() and IsNull() now work with smart pointers. |
| 12 | * Field() and Property() now work when the matcher argument is a pointer |
| 13 | passed by reference. |
zhanyong.wan | aa28b17 | 2010-03-26 05:38:55 +0000 | [diff] [blame] | 14 | * Regular expression matchers on all platforms. |
zhanyong.wan | 5905ba0 | 2010-02-24 17:21:37 +0000 | [diff] [blame] | 15 | * Added GCC 4.0 support for Google Mock Doctor. |
| 16 | * Added gmock_all_test.cc for compiling most Google Mock tests |
| 17 | in a single file. |
| 18 | * Significantly cleaned up compiler warnings. |
| 19 | * Bug fixes, better test coverage, and implementation clean-ups. |
| 20 | |
| 21 | Potentially breaking changes: |
| 22 | |
| 23 | * Custom matchers defined using MatcherInterface or MakePolymorphicMatcher() |
| 24 | need to be updated after upgrading to Google Mock 1.5.0; matchers defined |
| 25 | using MATCHER or MATCHER_P* aren't affected. |
| 26 | * Dropped support for 'make install'. |
| 27 | |
zhanyong.wan | 7db42db | 2009-10-01 23:31:41 +0000 | [diff] [blame] | 28 | Changes for 1.4.0 (we skipped 1.2.* and 1.3.* to match the version of |
| 29 | Google Test): |
zhanyong.wan | 5bc7cfe | 2009-09-04 18:10:53 +0000 | [diff] [blame] | 30 | |
zhanyong.wan | 7db42db | 2009-10-01 23:31:41 +0000 | [diff] [blame] | 31 | * Works in more environments: Symbian and minGW, Visual C++ 7.1. |
| 32 | * Lighter weight: comes with our own implementation of TR1 tuple (no |
| 33 | more dependency on Boost!). |
zhanyong.wan | 5bc7cfe | 2009-09-04 18:10:53 +0000 | [diff] [blame] | 34 | * New feature: --gmock_catch_leaked_mocks for detecting leaked mocks. |
| 35 | * New feature: ACTION_TEMPLATE for defining templatized actions. |
| 36 | * New feature: the .After() clause for specifying expectation order. |
| 37 | * New feature: the .With() clause for for specifying inter-argument |
| 38 | constraints. |
| 39 | * New feature: actions ReturnArg<k>(), ReturnNew<T>(...), and |
| 40 | DeleteArg<k>(). |
zhanyong.wan | 7db42db | 2009-10-01 23:31:41 +0000 | [diff] [blame] | 41 | * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(), |
| 42 | and Contains(). |
| 43 | * New feature: utility class MockFunction<F>, useful for checkpoints, etc. |
zhanyong.wan | 5bc7cfe | 2009-09-04 18:10:53 +0000 | [diff] [blame] | 44 | * New feature: functions Value(x, m) and SafeMatcherCast<T>(m). |
| 45 | * New feature: copying a mock object is rejected at compile time. |
| 46 | * New feature: a script for fusing all Google Mock and Google Test |
| 47 | source files for easy deployment. |
| 48 | * Improved the Google Mock doctor to diagnose more diseases. |
| 49 | * Improved the Google Mock generator script. |
zhanyong.wan | 7db42db | 2009-10-01 23:31:41 +0000 | [diff] [blame] | 50 | * Compatibility fixes for Mac OS X and gcc. |
zhanyong.wan | 5bc7cfe | 2009-09-04 18:10:53 +0000 | [diff] [blame] | 51 | * Bug fixes and implementation clean-ups. |
| 52 | |
zhanyong.wan | da579bd | 2009-03-17 23:34:45 +0000 | [diff] [blame] | 53 | Changes for 1.1.0: |
| 54 | |
| 55 | * New feature: ability to use Google Mock with any testing framework. |
| 56 | * New feature: macros for easily defining new matchers |
| 57 | * New feature: macros for easily defining new actions. |
| 58 | * New feature: more container matchers. |
| 59 | * New feature: actions for accessing function arguments and throwing |
| 60 | exceptions. |
| 61 | * Improved the Google Mock doctor script for diagnosing compiler errors. |
zhanyong.wan | 5bc7cfe | 2009-09-04 18:10:53 +0000 | [diff] [blame] | 62 | * Bug fixes and implementation clean-ups. |
zhanyong.wan | da579bd | 2009-03-17 23:34:45 +0000 | [diff] [blame] | 63 | |
shiqian | e35fdd9 | 2008-12-10 05:08:54 +0000 | [diff] [blame] | 64 | Changes for 1.0.0: |
| 65 | |
| 66 | * Initial Open Source release of Google Mock |