Blame googlemock/CHANGES

Packit bd1cd8
Changes for 1.7.0:
Packit bd1cd8
Packit bd1cd8
* All new improvements in Google Test 1.7.0.
Packit bd1cd8
* New feature: matchers DoubleNear(), FloatNear(),
Packit bd1cd8
  NanSensitiveDoubleNear(), NanSensitiveFloatNear(),
Packit bd1cd8
  UnorderedElementsAre(), UnorderedElementsAreArray(), WhenSorted(),
Packit bd1cd8
  WhenSortedBy(), IsEmpty(), and SizeIs().
Packit bd1cd8
* Improvement: Google Mock can now be built as a DLL.
Packit bd1cd8
* Improvement: when compiled by a C++11 compiler, matchers AllOf()
Packit bd1cd8
  and AnyOf() can accept an arbitrary number of matchers.
Packit bd1cd8
* Improvement: when compiled by a C++11 compiler, matchers
Packit bd1cd8
  ElementsAreArray() can accept an initializer list.
Packit bd1cd8
* Improvement: when exceptions are enabled, a mock method with no
Packit bd1cd8
  default action now throws instead crashing the test.
Packit bd1cd8
* Improvement: added class testing::StringMatchResultListener to aid
Packit bd1cd8
  definition of composite matchers.
Packit bd1cd8
* Improvement: function return types used in MOCK_METHOD*() macros can
Packit bd1cd8
  now contain unprotected commas.
Packit bd1cd8
* Improvement (potentially breaking): EXPECT_THAT() and ASSERT_THAT()
Packit bd1cd8
  are now more strict in ensuring that the value type and the matcher
Packit bd1cd8
  type are compatible, catching potential bugs in tests.
Packit bd1cd8
* Improvement: Pointee() now works on an optional<T>.
Packit bd1cd8
* Improvement: the ElementsAreArray() matcher can now take a vector or
Packit bd1cd8
  iterator range as input, and makes a copy of its input elements
Packit bd1cd8
  before the conversion to a Matcher.
Packit bd1cd8
* Improvement: the Google Mock Generator can now generate mocks for
Packit bd1cd8
  some class templates.
Packit bd1cd8
* Bug fix: mock object destruction triggerred by another mock object's
Packit bd1cd8
  destruction no longer hangs.
Packit bd1cd8
* Improvement: Google Mock Doctor works better with newer Clang and
Packit bd1cd8
  GCC now.
Packit bd1cd8
* Compatibility fixes.
Packit bd1cd8
* Bug/warning fixes.
Packit bd1cd8
Packit bd1cd8
Changes for 1.6.0:
Packit bd1cd8
Packit bd1cd8
* Compilation is much faster and uses much less memory, especially
Packit bd1cd8
  when the constructor and destructor of a mock class are moved out of
Packit bd1cd8
  the class body.
Packit bd1cd8
* New matchers: Pointwise(), Each().
Packit bd1cd8
* New actions: ReturnPointee() and ReturnRefOfCopy().
Packit bd1cd8
* CMake support.
Packit bd1cd8
* Project files for Visual Studio 2010.
Packit bd1cd8
* AllOf() and AnyOf() can handle up-to 10 arguments now.
Packit bd1cd8
* Google Mock doctor understands Clang error messages now.
Packit bd1cd8
* SetArgPointee<> now accepts string literals.
Packit bd1cd8
* gmock_gen.py handles storage specifier macros and template return
Packit bd1cd8
  types now.
Packit bd1cd8
* Compatibility fixes.
Packit bd1cd8
* Bug fixes and implementation clean-ups.
Packit bd1cd8
* Potentially incompatible changes: disables the harmful 'make install'
Packit bd1cd8
  command in autotools.
Packit bd1cd8
Packit bd1cd8
Potentially breaking changes:
Packit bd1cd8
Packit bd1cd8
* The description string for MATCHER*() changes from Python-style
Packit bd1cd8
  interpolation to an ordinary C++ string expression.
Packit bd1cd8
* SetArgumentPointee is deprecated in favor of SetArgPointee.
Packit bd1cd8
* Some non-essential project files for Visual Studio 2005 are removed.
Packit bd1cd8
Packit bd1cd8
Changes for 1.5.0:
Packit bd1cd8
Packit bd1cd8
 * New feature: Google Mock can be safely used in multi-threaded tests
Packit bd1cd8
   on platforms having pthreads.
Packit bd1cd8
 * New feature: function for printing a value of arbitrary type.
Packit bd1cd8
 * New feature: function ExplainMatchResult() for easy definition of
Packit bd1cd8
   composite matchers.
Packit bd1cd8
 * The new matcher API lets user-defined matchers generate custom
Packit bd1cd8
   explanations more directly and efficiently.
Packit bd1cd8
 * Better failure messages all around.
Packit bd1cd8
 * NotNull() and IsNull() now work with smart pointers.
Packit bd1cd8
 * Field() and Property() now work when the matcher argument is a pointer
Packit bd1cd8
   passed by reference.
Packit bd1cd8
 * Regular expression matchers on all platforms.
Packit bd1cd8
 * Added GCC 4.0 support for Google Mock Doctor.
Packit bd1cd8
 * Added gmock_all_test.cc for compiling most Google Mock tests
Packit bd1cd8
   in a single file.
Packit bd1cd8
 * Significantly cleaned up compiler warnings.
Packit bd1cd8
 * Bug fixes, better test coverage, and implementation clean-ups.
Packit bd1cd8
Packit bd1cd8
 Potentially breaking changes:
Packit bd1cd8
Packit bd1cd8
 * Custom matchers defined using MatcherInterface or MakePolymorphicMatcher()
Packit bd1cd8
   need to be updated after upgrading to Google Mock 1.5.0; matchers defined
Packit bd1cd8
   using MATCHER or MATCHER_P* aren't affected.
Packit bd1cd8
 * Dropped support for 'make install'.
Packit bd1cd8
Packit bd1cd8
Changes for 1.4.0 (we skipped 1.2.* and 1.3.* to match the version of
Packit bd1cd8
Google Test):
Packit bd1cd8
Packit bd1cd8
 * Works in more environments: Symbian and minGW, Visual C++ 7.1.
Packit bd1cd8
 * Lighter weight: comes with our own implementation of TR1 tuple (no
Packit bd1cd8
   more dependency on Boost!).
Packit bd1cd8
 * New feature: --gmock_catch_leaked_mocks for detecting leaked mocks.
Packit bd1cd8
 * New feature: ACTION_TEMPLATE for defining templatized actions.
Packit bd1cd8
 * New feature: the .After() clause for specifying expectation order.
Packit bd1cd8
 * New feature: the .With() clause for for specifying inter-argument
Packit bd1cd8
   constraints.
Packit bd1cd8
 * New feature: actions ReturnArg<k>(), ReturnNew<T>(...), and
Packit bd1cd8
   DeleteArg<k>().
Packit bd1cd8
 * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(),
Packit bd1cd8
   and Contains().
Packit bd1cd8
 * New feature: utility class MockFunction<F>, useful for checkpoints, etc.
Packit bd1cd8
 * New feature: functions Value(x, m) and SafeMatcherCast<T>(m).
Packit bd1cd8
 * New feature: copying a mock object is rejected at compile time.
Packit bd1cd8
 * New feature: a script for fusing all Google Mock and Google Test
Packit bd1cd8
   source files for easy deployment.
Packit bd1cd8
 * Improved the Google Mock doctor to diagnose more diseases.
Packit bd1cd8
 * Improved the Google Mock generator script.
Packit bd1cd8
 * Compatibility fixes for Mac OS X and gcc.
Packit bd1cd8
 * Bug fixes and implementation clean-ups.
Packit bd1cd8
Packit bd1cd8
Changes for 1.1.0:
Packit bd1cd8
Packit bd1cd8
 * New feature: ability to use Google Mock with any testing framework.
Packit bd1cd8
 * New feature: macros for easily defining new matchers
Packit bd1cd8
 * New feature: macros for easily defining new actions.
Packit bd1cd8
 * New feature: more container matchers.
Packit bd1cd8
 * New feature: actions for accessing function arguments and throwing
Packit bd1cd8
   exceptions.
Packit bd1cd8
 * Improved the Google Mock doctor script for diagnosing compiler errors.
Packit bd1cd8
 * Bug fixes and implementation clean-ups.
Packit bd1cd8
Packit bd1cd8
Changes for 1.0.0:
Packit bd1cd8
Packit bd1cd8
 * Initial Open Source release of Google Mock