Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /JETSCAPE/external_packages/googletest/googlemock/CHANGES is written in an unsupported language. File is not indexed.

0001 Changes for 1.7.0:
0002 
0003 * All new improvements in Google Test 1.7.0.
0004 * New feature: matchers DoubleNear(), FloatNear(),
0005   NanSensitiveDoubleNear(), NanSensitiveFloatNear(),
0006   UnorderedElementsAre(), UnorderedElementsAreArray(), WhenSorted(),
0007   WhenSortedBy(), IsEmpty(), and SizeIs().
0008 * Improvement: Google Mock can now be built as a DLL.
0009 * Improvement: when compiled by a C++11 compiler, matchers AllOf()
0010   and AnyOf() can accept an arbitrary number of matchers.
0011 * Improvement: when compiled by a C++11 compiler, matchers
0012   ElementsAreArray() can accept an initializer list.
0013 * Improvement: when exceptions are enabled, a mock method with no
0014   default action now throws instead crashing the test.
0015 * Improvement: added class testing::StringMatchResultListener to aid
0016   definition of composite matchers.
0017 * Improvement: function return types used in MOCK_METHOD*() macros can
0018   now contain unprotected commas.
0019 * Improvement (potentially breaking): EXPECT_THAT() and ASSERT_THAT()
0020   are now more strict in ensuring that the value type and the matcher
0021   type are compatible, catching potential bugs in tests.
0022 * Improvement: Pointee() now works on an optional<T>.
0023 * Improvement: the ElementsAreArray() matcher can now take a vector or
0024   iterator range as input, and makes a copy of its input elements
0025   before the conversion to a Matcher.
0026 * Improvement: the Google Mock Generator can now generate mocks for
0027   some class templates.
0028 * Bug fix: mock object destruction triggerred by another mock object's
0029   destruction no longer hangs.
0030 * Improvement: Google Mock Doctor works better with newer Clang and
0031   GCC now.
0032 * Compatibility fixes.
0033 * Bug/warning fixes.
0034 
0035 Changes for 1.6.0:
0036 
0037 * Compilation is much faster and uses much less memory, especially
0038   when the constructor and destructor of a mock class are moved out of
0039   the class body.
0040 * New matchers: Pointwise(), Each().
0041 * New actions: ReturnPointee() and ReturnRefOfCopy().
0042 * CMake support.
0043 * Project files for Visual Studio 2010.
0044 * AllOf() and AnyOf() can handle up-to 10 arguments now.
0045 * Google Mock doctor understands Clang error messages now.
0046 * SetArgPointee<> now accepts string literals.
0047 * gmock_gen.py handles storage specifier macros and template return
0048   types now.
0049 * Compatibility fixes.
0050 * Bug fixes and implementation clean-ups.
0051 * Potentially incompatible changes: disables the harmful 'make install'
0052   command in autotools.
0053 
0054 Potentially breaking changes:
0055 
0056 * The description string for MATCHER*() changes from Python-style
0057   interpolation to an ordinary C++ string expression.
0058 * SetArgumentPointee is deprecated in favor of SetArgPointee.
0059 * Some non-essential project files for Visual Studio 2005 are removed.
0060 
0061 Changes for 1.5.0:
0062 
0063  * New feature: Google Mock can be safely used in multi-threaded tests
0064    on platforms having pthreads.
0065  * New feature: function for printing a value of arbitrary type.
0066  * New feature: function ExplainMatchResult() for easy definition of
0067    composite matchers.
0068  * The new matcher API lets user-defined matchers generate custom
0069    explanations more directly and efficiently.
0070  * Better failure messages all around.
0071  * NotNull() and IsNull() now work with smart pointers.
0072  * Field() and Property() now work when the matcher argument is a pointer
0073    passed by reference.
0074  * Regular expression matchers on all platforms.
0075  * Added GCC 4.0 support for Google Mock Doctor.
0076  * Added gmock_all_test.cc for compiling most Google Mock tests
0077    in a single file.
0078  * Significantly cleaned up compiler warnings.
0079  * Bug fixes, better test coverage, and implementation clean-ups.
0080 
0081  Potentially breaking changes:
0082 
0083  * Custom matchers defined using MatcherInterface or MakePolymorphicMatcher()
0084    need to be updated after upgrading to Google Mock 1.5.0; matchers defined
0085    using MATCHER or MATCHER_P* aren't affected.
0086  * Dropped support for 'make install'.
0087 
0088 Changes for 1.4.0 (we skipped 1.2.* and 1.3.* to match the version of
0089 Google Test):
0090 
0091  * Works in more environments: Symbian and minGW, Visual C++ 7.1.
0092  * Lighter weight: comes with our own implementation of TR1 tuple (no
0093    more dependency on Boost!).
0094  * New feature: --gmock_catch_leaked_mocks for detecting leaked mocks.
0095  * New feature: ACTION_TEMPLATE for defining templatized actions.
0096  * New feature: the .After() clause for specifying expectation order.
0097  * New feature: the .With() clause for for specifying inter-argument
0098    constraints.
0099  * New feature: actions ReturnArg<k>(), ReturnNew<T>(...), and
0100    DeleteArg<k>().
0101  * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(),
0102    and Contains().
0103  * New feature: utility class MockFunction<F>, useful for checkpoints, etc.
0104  * New feature: functions Value(x, m) and SafeMatcherCast<T>(m).
0105  * New feature: copying a mock object is rejected at compile time.
0106  * New feature: a script for fusing all Google Mock and Google Test
0107    source files for easy deployment.
0108  * Improved the Google Mock doctor to diagnose more diseases.
0109  * Improved the Google Mock generator script.
0110  * Compatibility fixes for Mac OS X and gcc.
0111  * Bug fixes and implementation clean-ups.
0112 
0113 Changes for 1.1.0:
0114 
0115  * New feature: ability to use Google Mock with any testing framework.
0116  * New feature: macros for easily defining new matchers
0117  * New feature: macros for easily defining new actions.
0118  * New feature: more container matchers.
0119  * New feature: actions for accessing function arguments and throwing
0120    exceptions.
0121  * Improved the Google Mock doctor script for diagnosing compiler errors.
0122  * Bug fixes and implementation clean-ups.
0123 
0124 Changes for 1.0.0:
0125 
0126  * Initial Open Source release of Google Mock