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

Side by Side Diff: tests/PathOpsSimplifyTest.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
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 testLine1(skiatest::Reporter* reporter) { 11 static void testLine1(skiatest::Reporter* reporter) {
13 SkPath path; 12 SkPath path;
14 path.moveTo(2,0); 13 path.moveTo(2,0);
15 path.lineTo(1,1); 14 path.lineTo(1,1);
16 path.lineTo(0,0); 15 path.lineTo(0,0);
17 path.close(); 16 path.close();
18 testSimplify(reporter, path); 17 testSimplify(reporter, path);
(...skipping 4329 matching lines...) Expand 10 before | Expand all | Expand 10 after
4348 } 4347 }
4349 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse); 4348 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse);
4350 if (!runSubTestsFirst) { 4349 if (!runSubTestsFirst) {
4351 RunTestSet(reporter, subTests, subTestCount, firstSubTest, stopTest, run Reverse); 4350 RunTestSet(reporter, subTests, subTestCount, firstSubTest, stopTest, run Reverse);
4352 } 4351 }
4353 #ifdef SK_DEBUG 4352 #ifdef SK_DEBUG
4354 SkPathOpsDebug::gMaxWindSum = SK_MaxS32; 4353 SkPathOpsDebug::gMaxWindSum = SK_MaxS32;
4355 SkPathOpsDebug::gMaxWindValue = SK_MaxS32; 4354 SkPathOpsDebug::gMaxWindValue = SK_MaxS32;
4356 #endif 4355 #endif
4357 } 4356 }
OLDNEW
« no previous file with comments | « tests/PathOpsSimplifyRectThreadedTest.cpp ('k') | tests/PathOpsSimplifyTrianglesThreadedTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698