diff options
author | misterg <misterg@google.com> | 2017-08-07 17:20:57 (GMT) |
---|---|---|
committer | misterg <misterg@google.com> | 2017-08-07 17:20:57 (GMT) |
commit | 52a9c14c48ed8f3c68d1d10e53a5be761a901a17 (patch) | |
tree | 2fa76b7d48e10e3c5d5c9633a37da44780681aa3 /googletest/samples/sample9_unittest.cc | |
parent | aa31cb67c2a9db4e6a93839bc2a29fe45e1dbd73 (diff) | |
download | googletest-52a9c14c48ed8f3c68d1d10e53a5be761a901a17.zip googletest-52a9c14c48ed8f3c68d1d10e53a5be761a901a17.tar.gz googletest-52a9c14c48ed8f3c68d1d10e53a5be761a901a17.tar.bz2 |
Samples changes upstreaming
Diffstat (limited to 'googletest/samples/sample9_unittest.cc')
-rw-r--r-- | googletest/samples/sample9_unittest.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/googletest/samples/sample9_unittest.cc b/googletest/samples/sample9_unittest.cc index 87ddca7..fb35a3a 100644 --- a/googletest/samples/sample9_unittest.cc +++ b/googletest/samples/sample9_unittest.cc @@ -34,8 +34,8 @@ #include <stdio.h> -#include "gtest/gtest.h" -namespace { +#include "third_party/gtest/include/gtest/gtest.h" + using ::testing::EmptyTestEventListener; using ::testing::InitGoogleTest; using ::testing::Test; @@ -44,9 +44,7 @@ using ::testing::TestEventListeners; using ::testing::TestInfo; using ::testing::TestPartResult; using ::testing::UnitTest; - namespace { - // Provides alternative output mode which produces minimal amount of // information about tests. class TersePrinter : public EmptyTestEventListener { @@ -102,7 +100,6 @@ TEST(CustomOutputTest, Fails) { EXPECT_EQ(1, 2) << "This test fails in order to demonstrate alternative failure messages"; } - } // namespace int main(int argc, char **argv) { @@ -158,4 +155,3 @@ int main(int argc, char **argv) { return ret_val; } -} // namespace
\ No newline at end of file |