Closes #1544
With refinements and changes

PiperOrigin-RevId: 215273083
This commit is contained in:
Arseny Aprelev
2018-10-01 16:47:09 -04:00
committed by Gennadiy Civil
parent 2e91bbcf6f
commit 00938b2b22
10 changed files with 201 additions and 26 deletions

View File

@@ -1208,7 +1208,10 @@ class NativeArray {
#define GTEST_SUCCESS_(message) \
GTEST_MESSAGE_(message, ::testing::TestPartResult::kSuccess)
// Suppress MSVC warning 4702 (unreachable code) for the code following
#define GTEST_SKIP_(message) \
return GTEST_MESSAGE_(message, ::testing::TestPartResult::kSkip)
// Suppress MSVC warning 4072 (unreachable code) for the code following
// statement if it returns or throws (or doesn't return or throw in some
// situations).
#define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \