blob: 4ccabf6d1b4b944156cb72549a52ebe61bfb30df [file] [log] [blame]
zhanyong.wan061f1d42013-04-07 03:16:38 +00001Changes for 1.7.0:
2
3TO BE WRITTEN.
4
zhanyong.wan79d82b62011-02-24 07:31:48 +00005Changes for 1.6.0:
6
7* Compilation is much faster and uses much less memory, especially
8 when the constructor and destructor of a mock class are moved out of
9 the class body.
10* New matchers: Pointwise(), Each().
11* New actions: ReturnPointee() and ReturnRefOfCopy().
zhanyong.wan62a35fb2011-02-24 21:59:54 +000012* CMake support.
zhanyong.wan79d82b62011-02-24 07:31:48 +000013* Project files for Visual Studio 2010.
14* AllOf() and AnyOf() can handle up-to 10 arguments now.
15* Google Mock doctor understands Clang error messages now.
16* SetArgPointee<> now accepts string literals.
17* gmock_gen.py handles storage specifier macros and template return
18 types now.
19* Compatibility fixes.
20* Bug fixes and implementation clean-ups.
zhanyong.wan8d7c5ad2011-04-14 07:49:05 +000021* Potentially incompatible changes: disables the harmful 'make install'
22 command in autotools.
zhanyong.wan79d82b62011-02-24 07:31:48 +000023
24Potentially breaking changes:
25
26* The description string for MATCHER*() changes from Python-style
27 interpolation to an ordinary C++ string expression.
28* SetArgumentPointee is deprecated in favor of SetArgPointee.
29* Some non-essential project files for Visual Studio 2005 are removed.
30
zhanyong.wan5905ba02010-02-24 17:21:37 +000031Changes for 1.5.0:
32
zhanyong.wanaa28b172010-03-26 05:38:55 +000033 * New feature: Google Mock can be safely used in multi-threaded tests
34 on platforms having pthreads.
35 * New feature: function for printing a value of arbitrary type.
36 * New feature: function ExplainMatchResult() for easy definition of
37 composite matchers.
zhanyong.wan5905ba02010-02-24 17:21:37 +000038 * The new matcher API lets user-defined matchers generate custom
39 explanations more directly and efficiently.
zhanyong.wanaa28b172010-03-26 05:38:55 +000040 * Better failure messages all around.
zhanyong.wan5905ba02010-02-24 17:21:37 +000041 * NotNull() and IsNull() now work with smart pointers.
42 * Field() and Property() now work when the matcher argument is a pointer
43 passed by reference.
zhanyong.wanaa28b172010-03-26 05:38:55 +000044 * Regular expression matchers on all platforms.
zhanyong.wan5905ba02010-02-24 17:21:37 +000045 * Added GCC 4.0 support for Google Mock Doctor.
46 * Added gmock_all_test.cc for compiling most Google Mock tests
47 in a single file.
48 * Significantly cleaned up compiler warnings.
49 * Bug fixes, better test coverage, and implementation clean-ups.
50
51 Potentially breaking changes:
52
53 * Custom matchers defined using MatcherInterface or MakePolymorphicMatcher()
54 need to be updated after upgrading to Google Mock 1.5.0; matchers defined
55 using MATCHER or MATCHER_P* aren't affected.
56 * Dropped support for 'make install'.
57
zhanyong.wan7db42db2009-10-01 23:31:41 +000058Changes for 1.4.0 (we skipped 1.2.* and 1.3.* to match the version of
59Google Test):
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000060
zhanyong.wan7db42db2009-10-01 23:31:41 +000061 * Works in more environments: Symbian and minGW, Visual C++ 7.1.
62 * Lighter weight: comes with our own implementation of TR1 tuple (no
63 more dependency on Boost!).
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000064 * New feature: --gmock_catch_leaked_mocks for detecting leaked mocks.
65 * New feature: ACTION_TEMPLATE for defining templatized actions.
66 * New feature: the .After() clause for specifying expectation order.
67 * New feature: the .With() clause for for specifying inter-argument
68 constraints.
69 * New feature: actions ReturnArg<k>(), ReturnNew<T>(...), and
70 DeleteArg<k>().
zhanyong.wan7db42db2009-10-01 23:31:41 +000071 * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(),
72 and Contains().
73 * New feature: utility class MockFunction<F>, useful for checkpoints, etc.
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000074 * New feature: functions Value(x, m) and SafeMatcherCast<T>(m).
75 * New feature: copying a mock object is rejected at compile time.
76 * New feature: a script for fusing all Google Mock and Google Test
77 source files for easy deployment.
78 * Improved the Google Mock doctor to diagnose more diseases.
79 * Improved the Google Mock generator script.
zhanyong.wan7db42db2009-10-01 23:31:41 +000080 * Compatibility fixes for Mac OS X and gcc.
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000081 * Bug fixes and implementation clean-ups.
82
zhanyong.wanda579bd2009-03-17 23:34:45 +000083Changes for 1.1.0:
84
85 * New feature: ability to use Google Mock with any testing framework.
86 * New feature: macros for easily defining new matchers
87 * New feature: macros for easily defining new actions.
88 * New feature: more container matchers.
89 * New feature: actions for accessing function arguments and throwing
90 exceptions.
91 * Improved the Google Mock doctor script for diagnosing compiler errors.
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000092 * Bug fixes and implementation clean-ups.
zhanyong.wanda579bd2009-03-17 23:34:45 +000093
shiqiane35fdd92008-12-10 05:08:54 +000094Changes for 1.0.0:
95
96 * Initial Open Source release of Google Mock