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

Side by Side Diff: tests/BlitRowTest.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/BitmapGetColorTest.cpp ('k') | tests/CachedDecodingPixelRefTest.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 2011 Google Inc. 2 * Copyright 2011 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"
9 #include "SkBitmap.h" 8 #include "SkBitmap.h"
10 #include "SkCanvas.h" 9 #include "SkCanvas.h"
11 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
12 #include "SkGradientShader.h" 11 #include "SkGradientShader.h"
13 #include "SkRect.h" 12 #include "SkRect.h"
13 #include "Test.h"
14 14
15 // these are in the same order as the SkBitmap::Config enum 15 // these are in the same order as the SkBitmap::Config enum
16 static const char* gConfigName[] = { 16 static const char* gConfigName[] = {
17 "None", "A8", "Index8", "565", "4444", "8888" 17 "None", "A8", "Index8", "565", "4444", "8888"
18 }; 18 };
19 19
20 /** Returns -1 on success, else the x coord of the first bad pixel, return its 20 /** Returns -1 on success, else the x coord of the first bad pixel, return its
21 value in bad 21 value in bad
22 */ 22 */
23 typedef int (*Proc)(const void*, int width, uint32_t expected, uint32_t* bad); 23 typedef int (*Proc)(const void*, int width, uint32_t expected, uint32_t* bad);
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 } 257 }
258 } 258 }
259 } 259 }
260 } 260 }
261 } 261 }
262 262
263 DEF_TEST(BlitRow, reporter) { 263 DEF_TEST(BlitRow, reporter) {
264 test_00_FF(reporter); 264 test_00_FF(reporter);
265 test_diagonal(reporter); 265 test_diagonal(reporter);
266 } 266 }
OLDNEW
« no previous file with comments | « tests/BitmapGetColorTest.cpp ('k') | tests/CachedDecodingPixelRefTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698