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