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

Side by Side Diff: third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "modules/notifications/NotificationData.h" 5 #include "modules/notifications/NotificationData.h"
6 6
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "core/testing/NullExecutionContext.h" 8 #include "core/testing/NullExecutionContext.h"
9 #include "modules/notifications/Notification.h" 9 #include "modules/notifications/Notification.h"
10 #include "modules/notifications/NotificationOptions.h" 10 #include "modules/notifications/NotificationOptions.h"
11 #include "platform/wtf/CurrentTime.h"
12 #include "platform/wtf/HashMap.h"
13 #include "platform/wtf/Vector.h"
11 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
12 #include "wtf/CurrentTime.h"
13 #include "wtf/HashMap.h"
14 #include "wtf/Vector.h"
15 15
16 namespace blink { 16 namespace blink {
17 namespace { 17 namespace {
18 18
19 const char kNotificationTitle[] = "My Notification"; 19 const char kNotificationTitle[] = "My Notification";
20 20
21 const char kNotificationDir[] = "rtl"; 21 const char kNotificationDir[] = "rtl";
22 const char kNotificationLang[] = "nl"; 22 const char kNotificationLang[] = "nl";
23 const char kNotificationBody[] = "Hello, world"; 23 const char kNotificationBody[] = "Hello, world";
24 const char kNotificationTag[] = "my_tag"; 24 const char kNotificationTag[] = "my_tag";
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 ASSERT_EQ(Notification::maxActions(), notification_data.actions.size()); 294 ASSERT_EQ(Notification::maxActions(), notification_data.actions.size());
295 295
296 for (size_t i = 0; i < Notification::maxActions(); ++i) { 296 for (size_t i = 0; i < Notification::maxActions(); ++i) {
297 WebString expected_action = String::Number(i); 297 WebString expected_action = String::Number(i);
298 EXPECT_EQ(expected_action, notification_data.actions[i].action); 298 EXPECT_EQ(expected_action, notification_data.actions[i].action);
299 } 299 }
300 } 300 }
301 301
302 } // namespace 302 } // namespace
303 } // namespace blink 303 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698