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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaperTest.cpp

Issue 2795413003: Rewrite references to "wtf/" to "platform/wtf/" in platform/fonts. (Closed)
Patch Set: 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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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 "platform/fonts/shaping/HarfBuzzShaper.h" 5 #include "platform/fonts/shaping/HarfBuzzShaper.h"
6 6
7 #include <unicode/uscript.h> 7 #include <unicode/uscript.h>
8 #include "platform/fonts/Font.h" 8 #include "platform/fonts/Font.h"
9 #include "platform/fonts/FontCache.h" 9 #include "platform/fonts/FontCache.h"
10 #include "platform/fonts/shaping/ShapeResultInlineHeaders.h" 10 #include "platform/fonts/shaping/ShapeResultInlineHeaders.h"
11 #include "platform/fonts/shaping/ShapeResultTestInfo.h" 11 #include "platform/fonts/shaping/ShapeResultTestInfo.h"
12 #include "platform/text/TextBreakIterator.h" 12 #include "platform/text/TextBreakIterator.h"
13 #include "platform/text/TextRun.h" 13 #include "platform/text/TextRun.h"
14 #include "platform/wtf/Vector.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 #include "wtf/Vector.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class HarfBuzzShaperTest : public ::testing::Test { 19 class HarfBuzzShaperTest : public ::testing::Test {
20 protected: 20 protected:
21 void SetUp() override { 21 void SetUp() override {
22 fontDescription.setComputedSize(12.0); 22 fontDescription.setComputedSize(12.0);
23 font = Font(fontDescription); 23 font = Font(fontDescription);
24 font.update(nullptr); 24 font.update(nullptr);
25 } 25 }
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 compositeResult->snappedStartPositionForOffset(5)); 404 compositeResult->snappedStartPositionForOffset(5));
405 EXPECT_EQ(result->snappedStartPositionForOffset(6), 405 EXPECT_EQ(result->snappedStartPositionForOffset(6),
406 compositeResult->snappedStartPositionForOffset(6)); 406 compositeResult->snappedStartPositionForOffset(6));
407 EXPECT_EQ(result->snappedStartPositionForOffset(7), 407 EXPECT_EQ(result->snappedStartPositionForOffset(7),
408 compositeResult->snappedStartPositionForOffset(7)); 408 compositeResult->snappedStartPositionForOffset(7));
409 EXPECT_EQ(result->snappedStartPositionForOffset(8), 409 EXPECT_EQ(result->snappedStartPositionForOffset(8),
410 compositeResult->snappedStartPositionForOffset(8)); 410 compositeResult->snappedStartPositionForOffset(8));
411 } 411 }
412 412
413 } // namespace blink 413 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698