aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/gmock-matchers.h
diff options
context:
space:
mode:
authormisterg <misterg@google.com>2019-01-02 16:50:02 -0500
committerGennadiy Civil <misterg@google.com>2019-01-02 16:51:40 -0500
commit14c2fba7349e1f84e506dd6eab2835a8023d0f05 (patch)
tree153a958225111f1d08d970dc457252097fa42be2 /googlemock/include/gmock/gmock-matchers.h
parentf8b1c1af17750189b83c58f360c85268c0d95105 (diff)
downloadgoogletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.tar.gz
googletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.tar.bz2
googletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.zip
Googletest export
Internal Change PiperOrigin-RevId: 227575279
Diffstat (limited to 'googlemock/include/gmock/gmock-matchers.h')
-rw-r--r--googlemock/include/gmock/gmock-matchers.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h
index 36ff2992..b99fdc36 100644
--- a/googlemock/include/gmock/gmock-matchers.h
+++ b/googlemock/include/gmock/gmock-matchers.h
@@ -382,8 +382,6 @@ class TuplePrefix {
const Value& value = std::get<N - 1>(values);
StringMatchResultListener listener;
if (!matcher.MatchAndExplain(value, &listener)) {
- // FIXME: include in the message the name of the parameter
- // as used in MOCK_METHOD*() when possible.
*os << " Expected arg #" << N - 1 << ": ";
std::get<N - 1>(matchers).DescribeTo(os);
*os << "\n Actual: ";
@@ -1657,7 +1655,6 @@ class WhenDynamicCastToMatcher : public WhenDynamicCastToMatcherBase<To> {
template <typename From>
bool MatchAndExplain(From from, MatchResultListener* listener) const {
- // FIXME: Add more detail on failures. ie did the dyn_cast fail?
To to = dynamic_cast<To>(from);
return MatchPrintAndExplain(to, this->matcher_, listener);
}