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

Side by Side Diff: third_party/WebKit/Source/modules/eventsource/EventSourceParserTest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/eventsource/EventSourceParser.h" 5 #include "modules/eventsource/EventSourceParser.h"
6 6
7 #include "modules/eventsource/EventSource.h" 7 #include "modules/eventsource/EventSource.h"
8 #include "platform/wtf/text/CharacterNames.h"
8 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
9 #include "wtf/text/CharacterNames.h"
10 10
11 #include <string.h> 11 #include <string.h>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 namespace { 15 namespace {
16 16
17 struct EventOrReconnectionTimeSetting { 17 struct EventOrReconnectionTimeSetting {
18 enum Type { 18 enum Type {
19 kEvent, 19 kEvent,
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 ASSERT_EQ(1u, events.size()); 384 ASSERT_EQ(1u, events.size());
385 ASSERT_EQ(EventOrReconnectionTimeSetting::Type::kEvent, events[0].type); 385 ASSERT_EQ(EventOrReconnectionTimeSetting::Type::kEvent, events[0].type);
386 EXPECT_EQ("message", events[0].event); 386 EXPECT_EQ("message", events[0].event);
387 EXPECT_EQ("hello", events[0].data); 387 EXPECT_EQ("hello", events[0].data);
388 EXPECT_EQ("99", parser->LastEventId()); 388 EXPECT_EQ("99", parser->LastEventId());
389 } 389 }
390 390
391 } // namespace 391 } // namespace
392 392
393 } // namespace blink 393 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698