blob: 16fc85d80297116cfd4720f8704730e27abde7e3 [file] [log] [blame]
zhanyong.wan5905ba02010-02-24 17:21:37 +00001Changes 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.wan7db42db2009-10-01 23:31:41 +000025Changes for 1.4.0 (we skipped 1.2.* and 1.3.* to match the version of
26Google Test):
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000027
zhanyong.wan7db42db2009-10-01 23:31:41 +000028 * 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.wan5bc7cfe2009-09-04 18:10:53 +000031 * 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.wan7db42db2009-10-01 23:31:41 +000038 * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(),
39 and Contains().
40 * New feature: utility class MockFunction<F>, useful for checkpoints, etc.
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000041 * 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.wan7db42db2009-10-01 23:31:41 +000047 * Compatibility fixes for Mac OS X and gcc.
zhanyong.wan5bc7cfe2009-09-04 18:10:53 +000048 * Bug fixes and implementation clean-ups.
49
zhanyong.wanda579bd2009-03-17 23:34:45 +000050Changes 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.wan5bc7cfe2009-09-04 18:10:53 +000059 * Bug fixes and implementation clean-ups.
zhanyong.wanda579bd2009-03-17 23:34:45 +000060
shiqiane35fdd92008-12-10 05:08:54 +000061Changes for 1.0.0:
62
63 * Initial Open Source release of Google Mock