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

Side by Side Diff: tests/FontHostTest.cpp

Issue 145313004: Cleanup: Sanitize the order of includes under tests/ (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more two fixes Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « tests/FontHostStreamTest.cpp ('k') | tests/FontMgrTest.cpp » ('j') | 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 2012 Google Inc. 2 * Copyright 2012 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 "Test.h" 8 #include "SkEndian.h"
9 #include "SkPaint.h"
10 #include "SkFontStream.h" 9 #include "SkFontStream.h"
11 #include "SkOSFile.h" 10 #include "SkOSFile.h"
11 #include "SkPaint.h"
12 #include "SkStream.h" 12 #include "SkStream.h"
13 #include "SkTypeface.h" 13 #include "SkTypeface.h"
14 #include "SkEndian.h" 14 #include "Test.h"
15 15
16 //#define DUMP_TABLES 16 //#define DUMP_TABLES
17 //#define DUMP_TTC_TABLES 17 //#define DUMP_TTC_TABLES
18 18
19 #define kFontTableTag_head SkSetFourByteTag('h', 'e', 'a', 'd') 19 #define kFontTableTag_head SkSetFourByteTag('h', 'e', 'a', 'd')
20 #define kFontTableTag_hhea SkSetFourByteTag('h', 'h', 'e', 'a') 20 #define kFontTableTag_hhea SkSetFourByteTag('h', 'h', 'e', 'a')
21 #define kFontTableTag_maxp SkSetFourByteTag('m', 'a', 'x', 'p') 21 #define kFontTableTag_maxp SkSetFourByteTag('m', 'a', 'x', 'p')
22 22
23 static const struct TagSize { 23 static const struct TagSize {
24 SkFontTableTag fTag; 24 SkFontTableTag fTag;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 } 299 }
300 } 300 }
301 301
302 DEF_TEST(FontHost, reporter) { 302 DEF_TEST(FontHost, reporter) {
303 test_tables(reporter); 303 test_tables(reporter);
304 test_fontstream(reporter); 304 test_fontstream(reporter);
305 test_advances(reporter); 305 test_advances(reporter);
306 } 306 }
307 307
308 // need tests for SkStrSearch 308 // need tests for SkStrSearch
OLDNEW
« no previous file with comments | « tests/FontHostStreamTest.cpp ('k') | tests/FontMgrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698