Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
05b5a538
Commit
05b5a538
authored
Apr 09, 2018
by
Gennadiy Civil
Browse files
formatting
parent
2de24fbf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
googlemock/src/gmock-spec-builders.cc
googlemock/src/gmock-spec-builders.cc
+1
-1
googlemock/test/gmock-actions_test.cc
googlemock/test/gmock-actions_test.cc
+3
-0
googlemock/test/gmock_output_test_.cc
googlemock/test/gmock_output_test_.cc
+0
-2
googletest/include/gtest/gtest.h
googletest/include/gtest/gtest.h
+3
-1
No files found.
googlemock/src/gmock-spec-builders.cc
View file @
05b5a538
...
...
@@ -877,7 +877,7 @@ InSequence::~InSequence() {
}
// namespace testing
#ifdef _MSC_VER
#if _MSC_VER
=
= 1900
#if _MSC_VER
<
= 1900
# pragma warning(pop)
#endif
#endif
googlemock/test/gmock-actions_test.cc
View file @
05b5a538
...
...
@@ -33,6 +33,8 @@
//
// This file tests the built-in actions.
// Silence C4800 (C4800: 'int *const ': forcing value
// to bool 'true' or 'false') for MSVC 14,15
#ifdef _MSC_VER
#if _MSC_VER <= 1900
# pragma warning(push)
...
...
@@ -1569,3 +1571,4 @@ TEST(MoveOnlyArgumentsTest, ReturningActions) {
# pragma warning(pop)
#endif
#endif
googlemock/test/gmock_output_test_.cc
View file @
05b5a538
...
...
@@ -39,7 +39,6 @@
#include "gtest/gtest.h"
// Silence C4100 (unreferenced formal parameter) for MSVC 14 and 15
#ifdef _MSC_VER
# if _MSC_VER <= 1900
...
...
@@ -48,7 +47,6 @@
# endif
#endif
using
testing
::
_
;
using
testing
::
AnyNumber
;
using
testing
::
Ge
;
...
...
googletest/include/gtest/gtest.h
View file @
05b5a538
...
...
@@ -82,7 +82,8 @@
namespace
testing
{
// Silence C4100 (unreferenced formal parameter) for MSVC 14 and 15
// Silence C4100 (unreferenced formal parameter) and 4805
// unsafe mix of bool and type int for MSVC 14 and 15
#ifdef _MSC_VER
# if _MSC_VER <= 1900
# pragma warning(push)
...
...
@@ -91,6 +92,7 @@ namespace testing {
# endif
#endif
// Declares the flags.
// This flag temporary enables the disabled tests.
...
...
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