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 | 8 |
9 #include "TestClassDef.h" | |
10 | 9 |
11 #define TEST(name) { name, #name } | 10 #define TEST(name) { name, #name } |
12 | 11 |
13 static void skpcheeseandburger_com225(skiatest::Reporter* reporter) { | 12 static void skpcheeseandburger_com225(skiatest::Reporter* reporter) { |
14 SkPath path; | 13 SkPath path; |
15 path.setFillType(SkPath::kEvenOdd_FillType); | 14 path.setFillType(SkPath::kEvenOdd_FillType); |
16 path.moveTo(555, 468); | 15 path.moveTo(555, 468); |
17 path.lineTo(555, 362); | 16 path.lineTo(555, 362); |
18 path.lineTo(872, 362); | 17 path.lineTo(872, 362); |
19 path.lineTo(872, 468); | 18 path.lineTo(872, 468); |
(...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1658 | 1657 |
1659 static bool runReverse = false; | 1658 static bool runReverse = false; |
1660 static void (*stopTest)(skiatest::Reporter* ) = 0; | 1659 static void (*stopTest)(skiatest::Reporter* ) = 0; |
1661 | 1660 |
1662 DEF_TEST(PathOpsSkp, reporter) { | 1661 DEF_TEST(PathOpsSkp, reporter) { |
1663 #if DEBUG_SHOW_TEST_NAME | 1662 #if DEBUG_SHOW_TEST_NAME |
1664 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); | 1663 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); |
1665 #endif | 1664 #endif |
1666 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse); | 1665 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse); |
1667 } | 1666 } |
OLD | NEW |