diff options
author | kuzkry <krystian.kuzniarek@gmail.com> | 2019-08-29 18:38:09 (GMT) |
---|---|---|
committer | Gennadiy Rozental <rogeeff@google.com> | 2019-09-06 12:00:03 (GMT) |
commit | ab8f346b076f76f7770f33437fb5823fa444cb80 (patch) | |
tree | 35ce84e546aab767ce0a650e39c0600c16629e0f /googlemock/test | |
parent | 565f1b848215b77c3732bca345fe76a0431d8b34 (diff) | |
download | googletest-ab8f346b076f76f7770f33437fb5823fa444cb80.zip googletest-ab8f346b076f76f7770f33437fb5823fa444cb80.tar.gz googletest-ab8f346b076f76f7770f33437fb5823fa444cb80.tar.bz2 |
Googletest export
Merge 7f4f58da20e1066a888d3e4bcbef541db798a605 into 90a443f9c2437ca8a682a1ac625eba64e1d74a8a
Closes #2395
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2395 from kuzkry:custom-type-traits-remove_reference 7f4f58da20e1066a888d3e4bcbef541db798a605
PiperOrigin-RevId: 266189044
Diffstat (limited to 'googlemock/test')
-rw-r--r-- | googlemock/test/gmock-internal-utils_test.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/googlemock/test/gmock-internal-utils_test.cc b/googlemock/test/gmock-internal-utils_test.cc index 67b7077..7df4078 100644 --- a/googlemock/test/gmock-internal-utils_test.cc +++ b/googlemock/test/gmock-internal-utils_test.cc @@ -506,18 +506,6 @@ TEST(LogTest, OnlyWarningsArePrintedWhenVerbosityIsInvalid) { TestLogWithSeverity("invalid", kWarning, true); } -#endif // GTEST_HAS_STREAM_REDIRECTION - -TEST(TypeTraitsTest, remove_reference) { - EXPECT_TRUE((std::is_same<char, remove_reference<char&>::type>::value)); - EXPECT_TRUE( - (std::is_same<const int, remove_reference<const int&>::type>::value)); - EXPECT_TRUE((std::is_same<int, remove_reference<int>::type>::value)); - EXPECT_TRUE((std::is_same<double*, remove_reference<double*>::type>::value)); -} - -#if GTEST_HAS_STREAM_REDIRECTION - // Verifies that Log() behaves correctly for the given verbosity level // and log severity. std::string GrabOutput(void(*logger)(), const char* verbosity) { |