aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-04-04 15:07:52 -0400
committerGennadiy Civil <misterg@google.com>2018-04-04 15:07:52 -0400
commit5b3d27729b118f2c8b5e74039409db0c517651fa (patch)
tree2503d521b25d00069d670e576ffa8a9d6380382e /googlemock
parentaa14cc42858a7aec2605b27e0a221e9a4dac8921 (diff)
downloadgoogletest-5b3d27729b118f2c8b5e74039409db0c517651fa.tar.gz
googletest-5b3d27729b118f2c8b5e74039409db0c517651fa.tar.bz2
googletest-5b3d27729b118f2c8b5e74039409db0c517651fa.zip
Address MSVC warning C4503, decorated name length exceeded, name was truncated
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/test/gmock-matchers_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc
index f2ce8f24..62defe56 100644
--- a/googlemock/test/gmock-matchers_test.cc
+++ b/googlemock/test/gmock-matchers_test.cc
@@ -5459,6 +5459,7 @@ TEST_P(BipartiteRandomTest, LargerNets) {
}
// Test argument is a std::pair<int, int> representing (nodes, iters).
+GTEST_DISABLE_MSC_WARNINGS_PUSH_(4503)
INSTANTIATE_TEST_CASE_P(Samples, BipartiteRandomTest,
testing::Values(
std::make_pair(5, 10000),
@@ -5466,6 +5467,7 @@ INSTANTIATE_TEST_CASE_P(Samples, BipartiteRandomTest,
std::make_pair(7, 2000),
std::make_pair(8, 500),
std::make_pair(9, 100)));
+GTEST_DISABLE_MSC_WARNINGS_POP_()
// Tests IsReadableTypeName().