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

Unified Diff: chrome/common/desktop_notifications/active_notification_tracker_unittest.cc

Issue 6677096: Move a bunch of files from chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/desktop_notifications/active_notification_tracker_unittest.cc
===================================================================
--- chrome/common/desktop_notifications/active_notification_tracker_unittest.cc (revision 78451)
+++ chrome/common/desktop_notifications/active_notification_tracker_unittest.cc (working copy)
@@ -1,25 +0,0 @@
-// Copyright (c) 2010 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.
-
-#include "chrome/common/desktop_notifications/active_notification_tracker.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-TEST(ActiveNotificationTrackerTest, TestLookupAndClear) {
- ActiveNotificationTracker tracker;
-
- WebKit::WebNotification notification1;
- int id1 = tracker.RegisterNotification(notification1);
-
- WebKit::WebNotification notification2;
- int id2 = tracker.RegisterNotification(notification2);
-
- WebKit::WebNotification result;
- tracker.GetNotification(id1, &result);
- EXPECT_TRUE(result == notification1);
-
- tracker.GetNotification(id2, &result);
- EXPECT_TRUE(result == notification2);
-
- tracker.Clear();
-}
« no previous file with comments | « chrome/common/desktop_notifications/active_notification_tracker.cc ('k') | chrome/common/font_config_ipc_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698