diff options
Diffstat (limited to 'googletest/samples/sample10_unittest.cc')
-rw-r--r-- | googletest/samples/sample10_unittest.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/googletest/samples/sample10_unittest.cc b/googletest/samples/sample10_unittest.cc index 6ddb24b..4c4dcf8 100644 --- a/googletest/samples/sample10_unittest.cc +++ b/googletest/samples/sample10_unittest.cc @@ -34,8 +34,7 @@ #include <stdio.h> #include <stdlib.h> -#include "gtest/gtest.h" -namespace { +#include "third_party/gtest/include/gtest/gtest.h" using ::testing::EmptyTestEventListener; using ::testing::InitGoogleTest; using ::testing::Test; @@ -46,7 +45,6 @@ using ::testing::TestPartResult; using ::testing::UnitTest; namespace { - // We will track memory used by this class. class Water { public: @@ -106,7 +104,6 @@ TEST(ListenersTest, LeaksWater) { Water* water = new Water; EXPECT_TRUE(water != NULL); } - } // namespace int main(int argc, char **argv) { @@ -142,4 +139,3 @@ int main(int argc, char **argv) { } return RUN_ALL_TESTS(); } -} // namespace
\ No newline at end of file |