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/PathOpsSimplifyRectThreadedTest.cpp

Issue 138563004: Move macros from TestClassDef.h to Test.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: upload 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/PathOpsSimplifyQuadralateralsThreadedTest.cpp ('k') | tests/PathOpsSimplifyTest.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 #include "PathOpsExtendedTest.h" 7 #include "PathOpsExtendedTest.h"
8 #include "PathOpsThreadedCommon.h" 8 #include "PathOpsThreadedCommon.h"
9 #include "TestClassDef.h"
10 9
11 // four rects, of four sizes 10 // four rects, of four sizes
12 // for 3 smaller sizes, tall, wide 11 // for 3 smaller sizes, tall, wide
13 // top upper mid lower bottom aligned (3 bits, 5 values) 12 // top upper mid lower bottom aligned (3 bits, 5 values)
14 // same with x (3 bits, 5 values) 13 // same with x (3 bits, 5 values)
15 // not included, square, tall, wide (2 bits) 14 // not included, square, tall, wide (2 bits)
16 // cw or ccw (1 bit) 15 // cw or ccw (1 bit)
17 16
18 static void testSimplify4x4RectsMain(PathOpsThreadState* data) 17 static void testSimplify4x4RectsMain(PathOpsThreadState* data)
19 { 18 {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 *testRunner.fRunnables.append() = SkNEW_ARGS(PathOpsThre adedRunnable, 196 *testRunner.fRunnables.append() = SkNEW_ARGS(PathOpsThre adedRunnable,
198 (&testSimplify4x4RectsMain, a, b, c, d, &testRun ner)); 197 (&testSimplify4x4RectsMain, a, b, c, d, &testRun ner));
199 } 198 }
200 if (!reporter->allowExtendedTest()) goto finish; 199 if (!reporter->allowExtendedTest()) goto finish;
201 } 200 }
202 } 201 }
203 } 202 }
204 finish: 203 finish:
205 testRunner.render(); 204 testRunner.render();
206 } 205 }
OLDNEW
« no previous file with comments | « tests/PathOpsSimplifyQuadralateralsThreadedTest.cpp ('k') | tests/PathOpsSimplifyTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698