blob: 21ab4882798b4fa29e0a0b1e01f18088dd5a613f [file] [log] [blame]
zhanyong.wan5905ba02010-02-24 17:21:37 +00001Changes for 1.5.0:
2
zhanyong.wanaa28b172010-03-26 05:38:55 +00003 * 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.wan5905ba02010-02-24 17:21:37 +00008 * The new matcher API lets user-defined matchers generate custom
9 explanations more directly and efficiently.
zhanyong.wanaa28b172010-03-26 05:38:55 +000010 * Better failure messages all around.
zhanyong.wan5905ba02010-02-24 17:21:37 +000011 * 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.wanaa28b172010-03-26 05:38:55 +000014 * Regular expression matchers on all platforms.
zhanyong.wan5905ba02010-02-24 17:21:37 +000015 * 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.wan7db42db2009-10-01 23:31:41 +000028Changes for 1.4.0 (we skipped 1.2.* and 1.3.* to match the version of
29Google Test):
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000030
zhanyong.wan7db42db2009-10-01 23:31:41 +000031 * 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.wan5bc7cfe2009-09-04 18:10:53 +000034 * 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.wan7db42db2009-10-01 23:31:41 +000041 * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(),
42 and Contains().
43 * New feature: utility class MockFunction<F>, useful for checkpoints, etc.
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000044 * 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.wan7db42db2009-10-01 23:31:41 +000050 * Compatibility fixes for Mac OS X and gcc.
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000051 * Bug fixes and implementation clean-ups.
52
zhanyong.wanda579bd2009-03-17 23:34:45 +000053Changes 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.wan5bc7cfe2009-09-04 18:10:53 +000062 * Bug fixes and implementation clean-ups.
zhanyong.wanda579bd2009-03-17 23:34:45 +000063
shiqiane35fdd92008-12-10 05:08:54 +000064Changes for 1.0.0:
65
66 * Initial Open Source release of Google Mock