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/PathOpsOpTest.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/PathOpsOpRectThreadedTest.cpp ('k') | tests/PathOpsQuadIntersectionTest.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 "TestClassDef.h"
9 8
10 #define TEST(name) { name, #name } 9 #define TEST(name) { name, #name }
11 10
12 static void cubicOp1d(skiatest::Reporter* reporter) { 11 static void cubicOp1d(skiatest::Reporter* reporter) {
13 SkPath path, pathB; 12 SkPath path, pathB;
14 path.setFillType(SkPath::kWinding_FillType); 13 path.setFillType(SkPath::kWinding_FillType);
15 path.moveTo(0,1); 14 path.moveTo(0,1);
16 path.cubicTo(0,2, 1,0, 1,0); 15 path.cubicTo(0,2, 1,0, 1,0);
17 path.close(); 16 path.close();
18 pathB.setFillType(SkPath::kWinding_FillType); 17 pathB.setFillType(SkPath::kWinding_FillType);
(...skipping 3280 matching lines...) Expand 10 before | Expand all | Expand 10 after
3299 } 3298 }
3300 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse); 3299 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse);
3301 if (!runSubTestsFirst) { 3300 if (!runSubTestsFirst) {
3302 RunTestSet(reporter, subTests, subTestCount, firstSubTest, stopTest, run Reverse); 3301 RunTestSet(reporter, subTests, subTestCount, firstSubTest, stopTest, run Reverse);
3303 } 3302 }
3304 #ifdef SK_DEBUG 3303 #ifdef SK_DEBUG
3305 SkPathOpsDebug::gMaxWindSum = SK_MaxS32; 3304 SkPathOpsDebug::gMaxWindSum = SK_MaxS32;
3306 SkPathOpsDebug::gMaxWindValue = SK_MaxS32; 3305 SkPathOpsDebug::gMaxWindValue = SK_MaxS32;
3307 #endif 3306 #endif
3308 } 3307 }
OLDNEW
« no previous file with comments | « tests/PathOpsOpRectThreadedTest.cpp ('k') | tests/PathOpsQuadIntersectionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698