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

Unified Diff: base/waitable_event_watcher_unittest.cc

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/waitable_event.h ('k') | chrome/browser/autocomplete/autocomplete.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/waitable_event_watcher_unittest.cc
diff --git a/base/waitable_event_watcher_unittest.cc b/base/waitable_event_watcher_unittest.cc
index 80e64b595058672a6cfe31027f1c3e01adac9bbb..049de38802319a0915fd7a03b133fcbdde20b87f 100644
--- a/base/waitable_event_watcher_unittest.cc
+++ b/base/waitable_event_watcher_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -38,7 +38,7 @@ void RunTest_BasicSignal(MessageLoop::Type message_loop_type) {
WaitableEvent event(true, false);
WaitableEventWatcher watcher;
- EXPECT_TRUE(NULL == watcher.GetWatchedEvent());
+ EXPECT_EQ(NULL, watcher.GetWatchedEvent());
QuitDelegate delegate;
watcher.StartWatching(&event, &delegate);
@@ -48,7 +48,7 @@ void RunTest_BasicSignal(MessageLoop::Type message_loop_type) {
MessageLoop::current()->Run();
- EXPECT_TRUE(NULL == watcher.GetWatchedEvent());
+ EXPECT_EQ(NULL, watcher.GetWatchedEvent());
}
void RunTest_BasicCancel(MessageLoop::Type message_loop_type) {
« no previous file with comments | « base/waitable_event.h ('k') | chrome/browser/autocomplete/autocomplete.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698