aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-generated-actions_test.cc
diff options
context:
space:
mode:
authorChris <chrisjohnsonmail@gmail.com>2019-01-03 21:15:19 -0600
committerChris <chrisjohnsonmail@gmail.com>2019-01-03 21:15:19 -0600
commitfd1c7976aee83718db9934d0f5063a52e10f5db6 (patch)
tree81403e3fcf0190773dc3e7dbb42bb7c51795c74e /googlemock/test/gmock-generated-actions_test.cc
parent23533009b872e4cb6ae93471ff4e9280a2d51f62 (diff)
parent0ffa5f9779fc3a1b18d4931484b46825d952821d (diff)
downloadgoogletest-fd1c7976aee83718db9934d0f5063a52e10f5db6.tar.gz
googletest-fd1c7976aee83718db9934d0f5063a52e10f5db6.tar.bz2
googletest-fd1c7976aee83718db9934d0f5063a52e10f5db6.zip
Merge branch 'chore/fix_library_json' of https://github.com/ciband/googletest into chore/fix_library_json
Diffstat (limited to 'googlemock/test/gmock-generated-actions_test.cc')
-rw-r--r--googlemock/test/gmock-generated-actions_test.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/googlemock/test/gmock-generated-actions_test.cc b/googlemock/test/gmock-generated-actions_test.cc
index 0fe43ab3..4c649a7e 100644
--- a/googlemock/test/gmock-generated-actions_test.cc
+++ b/googlemock/test/gmock-generated-actions_test.cc
@@ -428,11 +428,12 @@ TEST(DoAllTest, TenActions) {
// the macro definition, as the warnings are generated when the macro
// is expanded and macro expansion cannot contain #pragma. Therefore
// we suppress them here.
+// Also suppress C4503 decorated name length exceeded, name was truncated
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable:4100)
+# pragma warning(disable:4503)
#endif
-
// Tests the ACTION*() macro family.
// Tests that ACTION() can define an action that doesn't reference the
@@ -1058,9 +1059,6 @@ TEST(ActionTemplateTest, CanBeOverloadedOnNumberOfValueParameters) {
EXPECT_EQ(12345, a4.Perform(std::make_tuple()));
}
-#ifdef _MSC_VER
-# pragma warning(pop)
-#endif
} // namespace gmock_generated_actions_test
} // namespace testing