aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_output_test_.cc
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-01-09 00:22:32 -0500
committerGitHub <noreply@github.com>2018-01-09 00:22:32 -0500
commit0e6da4cead72ab739171bbe98570da971c3283b6 (patch)
tree99a678b6b6fe1c8bc76e14287a9b7026c03019b7 /googletest/test/gtest_output_test_.cc
parentcdedd189b22a6578e935256294175b9884e3cf17 (diff)
parente194f52114a181cb3fb420d58d5ae2250207e828 (diff)
downloadgoogletest-0e6da4cead72ab739171bbe98570da971c3283b6.tar.gz
googletest-0e6da4cead72ab739171bbe98570da971c3283b6.tar.bz2
googletest-0e6da4cead72ab739171bbe98570da971c3283b6.zip
Merge branch 'master' into fix-core-dump-shared
Diffstat (limited to 'googletest/test/gtest_output_test_.cc')
-rw-r--r--googletest/test/gtest_output_test_.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/googletest/test/gtest_output_test_.cc b/googletest/test/gtest_output_test_.cc
index e5fa764e..6aaba977 100644
--- a/googletest/test/gtest_output_test_.cc
+++ b/googletest/test/gtest_output_test_.cc
@@ -37,15 +37,7 @@
#include "gtest/gtest-spi.h"
#include "gtest/gtest.h"
-
-// Indicates that this translation unit is part of Google Test's
-// implementation. It must come before gtest-internal-inl.h is
-// included, or there will be a compiler error. This trick is to
-// prevent a user from accidentally including gtest-internal-inl.h in
-// their code.
-#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
-#undef GTEST_IMPLEMENTATION_
#include <stdlib.h>
@@ -757,8 +749,6 @@ TEST(ExpectFatalFailureTest, FailsWhenStatementThrows) {
// This #ifdef block tests the output of value-parameterized tests.
-#if GTEST_HAS_PARAM_TEST
-
std::string ParamNameFunc(const testing::TestParamInfo<std::string>& info) {
return info.param;
}
@@ -779,8 +769,6 @@ INSTANTIATE_TEST_CASE_P(PrintingStrings,
testing::Values(std::string("a")),
ParamNameFunc);
-#endif // GTEST_HAS_PARAM_TEST
-
// This #ifdef block tests the output of typed tests.
#if GTEST_HAS_TYPED_TEST