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

Unified Diff: content/renderer/active_notification_tracker_unittest.cc

Issue 740543003: Remove the old Web Notification code-path (Chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unittest references Created 6 years, 1 month 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 | « content/renderer/active_notification_tracker.cc ('k') | content/renderer/notification_icon_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/active_notification_tracker_unittest.cc
diff --git a/content/renderer/active_notification_tracker_unittest.cc b/content/renderer/active_notification_tracker_unittest.cc
deleted file mode 100644
index 88e8dcd054a89f5ff671be560c093ab12091da2f..0000000000000000000000000000000000000000
--- a/content/renderer/active_notification_tracker_unittest.cc
+++ /dev/null
@@ -1,29 +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 "content/renderer/active_notification_tracker.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace content {
-
-TEST(ActiveNotificationTrackerTest, TestLookupAndClear) {
- ActiveNotificationTracker tracker;
-
- blink::WebNotification notification1;
- int id1 = tracker.RegisterNotification(notification1);
-
- blink::WebNotification notification2;
- int id2 = tracker.RegisterNotification(notification2);
-
- blink::WebNotification result;
- tracker.GetNotification(id1, &result);
- EXPECT_TRUE(result == notification1);
-
- tracker.GetNotification(id2, &result);
- EXPECT_TRUE(result == notification2);
-
- tracker.Clear();
-}
-
-} // namespace content
« no previous file with comments | « content/renderer/active_notification_tracker.cc ('k') | content/renderer/notification_icon_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698