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

Side by Side Diff: tests/DrawPathTest.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/DrawBitmapRectTest.cpp ('k') | tests/DrawTextTest.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"
9 #include "SkBitmap.h" 8 #include "SkBitmap.h"
10 #include "SkCanvas.h" 9 #include "SkCanvas.h"
11 #include "SkDashPathEffect.h" 10 #include "SkDashPathEffect.h"
12 #include "SkSurface.h" 11 #include "SkSurface.h"
12 #include "Test.h"
13 13
14 static SkCanvas* create(SkBitmap::Config config, int w, int h, int rb, 14 static SkCanvas* create(SkBitmap::Config config, int w, int h, int rb,
15 void* addr = NULL) { 15 void* addr = NULL) {
16 SkBitmap bm; 16 SkBitmap bm;
17 bm.setConfig(config, w, h, rb); 17 bm.setConfig(config, w, h, rb);
18 if (addr) { 18 if (addr) {
19 bm.setPixels(addr); 19 bm.setPixels(addr);
20 } else { 20 } else {
21 bm.allocPixels(); 21 bm.allocPixels();
22 } 22 }
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 test_crbug_124652(); 304 test_crbug_124652();
305 test_crbug_140642(); 305 test_crbug_140642();
306 test_crbug_140803(); 306 test_crbug_140803();
307 test_inversepathwithclip(); 307 test_inversepathwithclip();
308 // why? 308 // why?
309 if (false) test_crbug131181(); 309 if (false) test_crbug131181();
310 test_infinite_dash(reporter); 310 test_infinite_dash(reporter);
311 test_crbug_165432(reporter); 311 test_crbug_165432(reporter);
312 test_big_aa_rect(reporter); 312 test_big_aa_rect(reporter);
313 } 313 }
OLDNEW
« no previous file with comments | « tests/DrawBitmapRectTest.cpp ('k') | tests/DrawTextTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698