Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
9bc82ce7
Commit
9bc82ce7
authored
Apr 10, 2018
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merging
parent
25d8176e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
gmock_output_test_.cc
googlemock/test/gmock_output_test_.cc
+5
-3
gtest.h
googletest/include/gtest/gtest.h
+3
-2
No files found.
googlemock/test/gmock_output_test_.cc
View file @
9bc82ce7
...
@@ -39,14 +39,12 @@
...
@@ -39,14 +39,12 @@
#include "gtest/gtest.h"
#include "gtest/gtest.h"
// Silence C4100 (unreferenced formal parameter)
// Silence C4100 (unreferenced formal parameter) for MSVC
#ifdef _MSC_VER
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(push)
# pragma warning(disable:4100)
# pragma warning(disable:4100)
#endif
#endif
using
testing
::
_
;
using
testing
::
_
;
using
testing
::
AnyNumber
;
using
testing
::
AnyNumber
;
using
testing
::
Ge
;
using
testing
::
Ge
;
...
@@ -306,3 +304,7 @@ int main(int argc, char **argv) {
...
@@ -306,3 +304,7 @@ int main(int argc, char **argv) {
TestCatchesLeakedMocksInAdHocTests
();
TestCatchesLeakedMocksInAdHocTests
();
return
RUN_ALL_TESTS
();
return
RUN_ALL_TESTS
();
}
}
#ifdef _MSC_VER
# pragma warning(pop)
#endif
googletest/include/gtest/gtest.h
View file @
9bc82ce7
...
@@ -82,11 +82,12 @@
...
@@ -82,11 +82,12 @@
namespace
testing
{
namespace
testing
{
// Silence C4100 (unreferenced formal parameter) for MSVC
// Silence C4100 (unreferenced formal parameter) and 4805
// unsafe mix of type 'const int' and type 'const bool'
#ifdef _MSC_VER
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(push)
# pragma warning(disable:4100)
# pragma warning(disable:4805)
# pragma warning(disable:4805)
# pragma warning(disable:4100)
#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