Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
e93a0ece
Commit
e93a0ece
authored
Apr 09, 2018
by
Gennadiy Civil
Browse files
msvc
parent
c4684b49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
googlemock/test/gmock-actions_test.cc
googlemock/test/gmock-actions_test.cc
+13
-0
googlemock/test/gmock_all_test.cc
googlemock/test/gmock_all_test.cc
+0
-12
No files found.
googlemock/test/gmock-actions_test.cc
View file @
e93a0ece
...
@@ -33,6 +33,13 @@
...
@@ -33,6 +33,13 @@
//
//
// This file tests the built-in actions.
// This file tests the built-in actions.
#ifdef _MSC_VER
#if _MSC_VER <= 1900
# pragma warning(push)
# pragma warning(disable:4800)
#endif
#endif
#include "gmock/gmock-actions.h"
#include "gmock/gmock-actions.h"
#include <algorithm>
#include <algorithm>
#include <iterator>
#include <iterator>
...
@@ -1556,3 +1563,9 @@ TEST(MoveOnlyArgumentsTest, ReturningActions) {
...
@@ -1556,3 +1563,9 @@ TEST(MoveOnlyArgumentsTest, ReturningActions) {
#endif // GTEST_LANG_CXX11
#endif // GTEST_LANG_CXX11
}
// Unnamed namespace
}
// Unnamed namespace
#ifdef _MSC_VER
#if _MSC_VER == 1900
# pragma warning(pop)
#endif
#endif
googlemock/test/gmock_all_test.cc
View file @
e93a0ece
...
@@ -38,13 +38,6 @@
...
@@ -38,13 +38,6 @@
// below list of actual *_test.cc files might change).
// below list of actual *_test.cc files might change).
// Silence C4800 (C4800: 'int *const ': forcing value
// Silence C4800 (C4800: 'int *const ': forcing value
// to bool 'true' or 'false') for MSVC 14,15
// to bool 'true' or 'false') for MSVC 14,15
#ifdef _MSC_VER
#if _MSC_VER <= 1900
# pragma warning(push)
# pragma warning(disable:4800)
#endif
#endif
#include "test/gmock-actions_test.cc"
#include "test/gmock-actions_test.cc"
#include "test/gmock-cardinalities_test.cc"
#include "test/gmock-cardinalities_test.cc"
#include "test/gmock-generated-actions_test.cc"
#include "test/gmock-generated-actions_test.cc"
...
@@ -59,8 +52,3 @@
...
@@ -59,8 +52,3 @@
#include "test/gmock-spec-builders_test.cc"
#include "test/gmock-spec-builders_test.cc"
#include "test/gmock_test.cc"
#include "test/gmock_test.cc"
#ifdef _MSC_VER
#if _MSC_VER == 1900
# pragma warning(pop)
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment