| OLD | NEW | 
|---|
| 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  Loading... | 
| 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 } | 
| OLD | NEW | 
|---|