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

Side by Side Diff: tests/TextBlobTest.cpp

Issue 1411723005: Make SkTextBlob::RunIterator public. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-10-27 (Tuesday) 15:53:46 EDT Created 5 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 unified diff | Download patch
« include/core/SkTextBlob.h ('K') | « src/gpu/GrTextContext.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkPaint.h" 8 #include "SkPaint.h"
9 #include "SkPoint.h" 9 #include "SkPoint.h"
10 #include "SkTextBlob.h" 10 #include "SkTextBlobPriv.h"
11 11
12 #include "Test.h" 12 #include "Test.h"
13 13
14 class TextBlobTester { 14 class TextBlobTester {
15 public: 15 public:
16 // This unit test feeds an SkTextBlobBuilder various runs then checks to see if 16 // This unit test feeds an SkTextBlobBuilder various runs then checks to see if
17 // the result contains the provided data and merges runs when appropriate. 17 // the result contains the provided data and merges runs when appropriate.
18 static void TestBuilder(skiatest::Reporter* reporter) { 18 static void TestBuilder(skiatest::Reporter* reporter) {
19 SkTextBlobBuilder builder; 19 SkTextBlobBuilder builder;
20 20
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 default: 254 default:
255 SkFAIL("unhandled positioning value"); 255 SkFAIL("unhandled positioning value");
256 } 256 }
257 } 257 }
258 }; 258 };
259 259
260 DEF_TEST(TextBlob_builder, reporter) { 260 DEF_TEST(TextBlob_builder, reporter) {
261 TextBlobTester::TestBuilder(reporter); 261 TextBlobTester::TestBuilder(reporter);
262 TextBlobTester::TestBounds(reporter); 262 TextBlobTester::TestBounds(reporter);
263 } 263 }
OLDNEW
« include/core/SkTextBlob.h ('K') | « src/gpu/GrTextContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698