diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-08-08 18:41:51 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-08-08 18:41:51 +0000 |
commit | 1cc1d4bcecdac906250f863bef2636b278eb679d (patch) | |
tree | a51411ad22ce343439b323c7cf4e8718f341deef /CHANGES | |
parent | 5579c1a8b1591d4932495b8cb3cc61f3edca2555 (diff) | |
download | googletest-1cc1d4bcecdac906250f863bef2636b278eb679d.tar.gz googletest-1cc1d4bcecdac906250f863bef2636b278eb679d.tar.bz2 googletest-1cc1d4bcecdac906250f863bef2636b278eb679d.zip |
Makes some container matchers accept initializer lists in C++11 mode and work with stream-like containers that don't have size() or empty(); exposes StringMatchResultListener for defining composite matchers.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,8 +8,12 @@ Changes for 1.7.0: * Improvement: Google Mock can now be built as a DLL. * Improvement: when compiled by a C++11 compiler, matchers AllOf() and AnyOf() can accept an arbitrary number of matchers. +* Improvement: when compiled by a C++11 compiler, matchers + ElementsAreArray() can accept an initializer list. * Improvement: when exceptions are enabled, a mock method with no default action now throws instead crashing the test. +* Improvement: added class testing::StringMatchResultListener to aid + definition of composite matchers. * Improvement: function return types used in MOCK_METHOD*() macros can now contain unprotected commas. * Improvement (potentially breaking): EXPECT_THAT() and ASSERT_THAT() |