Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Side by Side Diff: base/tracked_objects_unittest.cc

Issue 42155: Remove logging.h from cc files that don't use it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/system_monitor_posix.cc ('k') | base/watchdog_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Test of classes in the tracked_objects.h classes. 5 // Test of classes in the tracked_objects.h classes.
6 6
7 #include "base/tracked_objects.h" 7 #include "base/tracked_objects.h"
8 #include "base/logging.h"
9 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
10 9
11 namespace tracked_objects { 10 namespace tracked_objects {
12 11
13 class TrackedObjectsTest : public testing::Test { 12 class TrackedObjectsTest : public testing::Test {
14 public: 13 public:
15 MessageLoop message_loop_; 14 MessageLoop message_loop_;
16 }; 15 };
17 16
18 TEST_F(TrackedObjectsTest, MinimalStartupShutdown) { 17 TEST_F(TrackedObjectsTest, MinimalStartupShutdown) {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 EXPECT_EQ(1u, death_map.size()); // 1 location. 85 EXPECT_EQ(1u, death_map.size()); // 1 location.
87 EXPECT_EQ(1, death_map.begin()->second.count()); // 1 death. 86 EXPECT_EQ(1, death_map.begin()->second.count()); // 1 death.
88 87
89 // The births were at the same location as the one known death. 88 // The births were at the same location as the one known death.
90 EXPECT_EQ(birth_map.begin()->second, death_map.begin()->first); 89 EXPECT_EQ(birth_map.begin()->second, death_map.begin()->first);
91 90
92 ThreadData::ShutdownSingleThreadedCleanup(); 91 ThreadData::ShutdownSingleThreadedCleanup();
93 } 92 }
94 93
95 } // namespace tracked_objects 94 } // namespace tracked_objects
OLDNEW
« no previous file with comments | « base/system_monitor_posix.cc ('k') | base/watchdog_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698