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 #define TEST(name) { name, #name } | 9 #define TEST(name) { name, #name } |
10 | 10 |
11 #define TEST_NEW_FAILURES 0 | |
12 | |
13 static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char*
filename) { | 11 static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char*
filename) { |
14 SkPath path; | 12 SkPath path; |
15 path.setFillType(SkPath::kEvenOdd_FillType); | 13 path.setFillType(SkPath::kEvenOdd_FillType); |
16 path.moveTo(555, 468); | 14 path.moveTo(555, 468); |
17 path.lineTo(555, 362); | 15 path.lineTo(555, 362); |
18 path.lineTo(872, 362); | 16 path.lineTo(872, 362); |
19 path.lineTo(872, 468); | 17 path.lineTo(872, 468); |
20 path.lineTo(555, 468); | 18 path.lineTo(555, 468); |
21 path.close(); | 19 path.close(); |
22 SkPath pathB; | 20 SkPath pathB; |
(...skipping 3560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3583 SkPath pathB; | 3581 SkPath pathB; |
3584 pathB.setFillType(SkPath::kWinding_FillType); | 3582 pathB.setFillType(SkPath::kWinding_FillType); |
3585 pathB.moveTo(728.37677f, 870.59082f); | 3583 pathB.moveTo(728.37677f, 870.59082f); |
3586 pathB.lineTo(754.088257f, 901.232605f); | 3584 pathB.lineTo(754.088257f, 901.232605f); |
3587 pathB.lineTo(738.767395f, 914.088379f); | 3585 pathB.lineTo(738.767395f, 914.088379f); |
3588 pathB.lineTo(713.055908f, 883.446594f); | 3586 pathB.lineTo(713.055908f, 883.446594f); |
3589 pathB.close(); | 3587 pathB.close(); |
3590 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); | 3588 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
3591 } | 3589 } |
3592 | 3590 |
3593 #if TEST_NEW_FAILURES | |
3594 static void skpwww_devbridge_com_22(skiatest::Reporter* reporter, const char* fi
lename) { | 3591 static void skpwww_devbridge_com_22(skiatest::Reporter* reporter, const char* fi
lename) { |
3595 SkPath path; | 3592 SkPath path; |
3596 path.setFillType(SkPath::kEvenOdd_FillType); | 3593 path.setFillType(SkPath::kEvenOdd_FillType); |
3597 path.moveTo(4915, 1523); | 3594 path.moveTo(4915, 1523); |
3598 path.quadTo(4887.24756f, 1523, 4867.62402f, 1542.6239f); | 3595 path.quadTo(4887.24756f, 1523, 4867.62402f, 1542.6239f); |
3599 path.quadTo(4848, 1562.24768f, 4848, 1590); | 3596 path.quadTo(4848, 1562.24768f, 4848, 1590); |
3600 path.quadTo(4848, 1617.75232f, 4867.62402f, 1637.3761f); | 3597 path.quadTo(4848, 1617.75232f, 4867.62402f, 1637.3761f); |
3601 path.quadTo(4887.24756f, 1657, 4915, 1657); | 3598 path.quadTo(4887.24756f, 1657, 4915, 1657); |
3602 path.quadTo(4942.75244f, 1657, 4962.37598f, 1637.3761f); | 3599 path.quadTo(4942.75244f, 1657, 4962.37598f, 1637.3761f); |
3603 path.quadTo(4982, 1617.75232f, 4982, 1590); | 3600 path.quadTo(4982, 1617.75232f, 4982, 1590); |
3604 path.quadTo(4982, 1562.24768f, 4962.37598f, 1542.6239f); | 3601 path.quadTo(4982, 1562.24768f, 4962.37598f, 1542.6239f); |
3605 path.quadTo(4942.75244f, 1523, 4915, 1523); | 3602 path.quadTo(4942.75244f, 1523, 4915, 1523); |
3606 path.close(); | 3603 path.close(); |
3607 SkPath pathB; | 3604 SkPath pathB; |
3608 pathB.setFillType(SkPath::kWinding_FillType); | 3605 pathB.setFillType(SkPath::kWinding_FillType); |
3609 pathB.moveTo(4981.99902f, 1590); | 3606 pathB.moveTo(4981.99902f, 1590); |
3610 pathB.quadTo(4981.99902f, 1617.75232f, 4962.375f, 1637.3761f); | 3607 pathB.quadTo(4981.99902f, 1617.75232f, 4962.375f, 1637.3761f); |
3611 pathB.quadTo(4942.75146f, 1657, 4914.99902f, 1657); | 3608 pathB.quadTo(4942.75146f, 1657, 4914.99902f, 1657); |
3612 pathB.quadTo(4887.24658f, 1657, 4867.62305f, 1637.3761f); | 3609 pathB.quadTo(4887.24658f, 1657, 4867.62305f, 1637.3761f); |
3613 pathB.quadTo(4847.99902f, 1617.75232f, 4847.99902f, 1590); | 3610 pathB.quadTo(4847.99902f, 1617.75232f, 4847.99902f, 1590); |
3614 pathB.quadTo(4847.99902f, 1562.24768f, 4867.62305f, 1542.6239f); | 3611 pathB.quadTo(4847.99902f, 1562.24768f, 4867.62305f, 1542.6239f); |
3615 pathB.quadTo(4887.24658f, 1523, 4914.99902f, 1523); | 3612 pathB.quadTo(4887.24658f, 1523, 4914.99902f, 1523); |
3616 pathB.quadTo(4942.75146f, 1523, 4962.375f, 1542.6239f); | 3613 pathB.quadTo(4942.75146f, 1523, 4962.375f, 1542.6239f); |
3617 pathB.quadTo(4981.99902f, 1562.24768f, 4981.99902f, 1590); | 3614 pathB.quadTo(4981.99902f, 1562.24768f, 4981.99902f, 1590); |
3618 pathB.close(); | 3615 pathB.close(); |
3619 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); | 3616 if (FLAGS_runFail) { |
| 3617 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
| 3618 } else { |
| 3619 // INVESTIGATE : why this normal test takes fail case (test has never wo
rked) |
| 3620 testPathFailOp(reporter, path, pathB, kIntersect_PathOp, filename); |
| 3621 } |
3620 } | 3622 } |
3621 | 3623 |
3622 // cubic/quad intersection | |
3623 static void skpwww_alamdi_com_3(skiatest::Reporter* reporter, const char* filena
me) { | 3624 static void skpwww_alamdi_com_3(skiatest::Reporter* reporter, const char* filena
me) { |
3624 SkPath path; | 3625 SkPath path; |
3625 path.setFillType(SkPath::kEvenOdd_FillType); | 3626 path.setFillType(SkPath::kEvenOdd_FillType); |
3626 path.moveTo(10210.8789f, 5315.87891f); | 3627 path.moveTo(10210.8789f, 5315.87891f); |
3627 path.quadTo(10211.7578f, 5315, 10213, 5315); | 3628 path.quadTo(10211.7578f, 5315, 10213, 5315); |
3628 path.lineTo(10230, 5315); | 3629 path.lineTo(10230, 5315); |
3629 path.quadTo(10231.2422f, 5315, 10232.1211f, 5315.87891f); | 3630 path.quadTo(10231.2422f, 5315, 10232.1211f, 5315.87891f); |
3630 path.quadTo(10233, 5316.75732f, 10233, 5318); | 3631 path.quadTo(10233, 5316.75732f, 10233, 5318); |
3631 path.lineTo(10233, 5338); | 3632 path.lineTo(10233, 5338); |
3632 path.quadTo(10233, 5339.24268f, 10232.1211f, 5340.12109f); | 3633 path.quadTo(10233, 5339.24268f, 10232.1211f, 5340.12109f); |
(...skipping 12 matching lines...) Expand all Loading... |
3645 pathB.lineTo(10233, 5338); | 3646 pathB.lineTo(10233, 5338); |
3646 pathB.cubicTo(10233, 5339.10449f, 10231.6572f, 5340, 10230, 5340); | 3647 pathB.cubicTo(10233, 5339.10449f, 10231.6572f, 5340, 10230, 5340); |
3647 pathB.lineTo(10213, 5340); | 3648 pathB.lineTo(10213, 5340); |
3648 pathB.cubicTo(10211.3428f, 5340, 10210, 5339.10449f, 10210, 5338); | 3649 pathB.cubicTo(10211.3428f, 5340, 10210, 5339.10449f, 10210, 5338); |
3649 pathB.lineTo(10210, 5318); | 3650 pathB.lineTo(10210, 5318); |
3650 pathB.cubicTo(10210, 5316.34326f, 10211.3428f, 5315, 10213, 5315); | 3651 pathB.cubicTo(10210, 5316.34326f, 10211.3428f, 5315, 10213, 5315); |
3651 pathB.close(); | 3652 pathB.close(); |
3652 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); | 3653 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
3653 } | 3654 } |
3654 | 3655 |
3655 // bumpSpan failed assertion "span->fOppValue >= 0" | |
3656 static void skpwww_familysurvivalprotocol_wordpress_com_61(skiatest::Reporter* r
eporter, const char* filename) { | 3656 static void skpwww_familysurvivalprotocol_wordpress_com_61(skiatest::Reporter* r
eporter, const char* filename) { |
3657 SkPath path; | 3657 SkPath path; |
3658 path.setFillType(SkPath::kEvenOdd_FillType); | 3658 path.setFillType(SkPath::kEvenOdd_FillType); |
3659 path.moveTo(143, 14557); | 3659 path.moveTo(143, 14557); |
3660 path.lineTo(165, 14557); | 3660 path.lineTo(165, 14557); |
3661 path.lineTo(165, 14555.9902f); | 3661 path.lineTo(165, 14555.9902f); |
3662 path.lineTo(143, 14556); | 3662 path.lineTo(143, 14556); |
3663 path.lineTo(143, 14557); | 3663 path.lineTo(143, 14557); |
3664 path.close(); | 3664 path.close(); |
3665 SkPath pathB; | 3665 SkPath pathB; |
3666 pathB.setFillType(SkPath::kWinding_FillType); | 3666 pathB.setFillType(SkPath::kWinding_FillType); |
3667 pathB.moveTo(143, 14557); | 3667 pathB.moveTo(143, 14557); |
3668 pathB.lineTo(143, 14555.9902f); | 3668 pathB.lineTo(143, 14555.9902f); |
3669 pathB.lineTo(165, 14556); | 3669 pathB.lineTo(165, 14556); |
3670 pathB.lineTo(165, 14557); | 3670 pathB.lineTo(165, 14557); |
3671 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); | 3671 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
3672 } | 3672 } |
3673 #endif | |
3674 | 3673 |
3675 static void skpwww_firstunitedbank_com_19(skiatest::Reporter* reporter, const ch
ar* filename) { | 3674 static void skpwww_firstunitedbank_com_19(skiatest::Reporter* reporter, const ch
ar* filename) { |
3676 SkPath path; | 3675 SkPath path; |
3677 path.setFillType(SkPath::kEvenOdd_FillType); | 3676 path.setFillType(SkPath::kEvenOdd_FillType); |
3678 path.moveTo(808.585815f, 11673.5859f); | 3677 path.moveTo(808.585815f, 11673.5859f); |
3679 path.quadTo(809.17157f, 11673, 810, 11673); | 3678 path.quadTo(809.17157f, 11673, 810, 11673); |
3680 path.lineTo(1032, 11673); | 3679 path.lineTo(1032, 11673); |
3681 path.quadTo(1038.21326f, 11673, 1042.60657f, 11677.3936f); | 3680 path.quadTo(1038.21326f, 11673, 1042.60657f, 11677.3936f); |
3682 path.quadTo(1047, 11681.7871f, 1047, 11688); | 3681 path.quadTo(1047, 11681.7871f, 1047, 11688); |
3683 path.quadTo(1047, 11682.2012f, 1042.60657f, 11678.1006f); | 3682 path.quadTo(1047, 11682.2012f, 1042.60657f, 11678.1006f); |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3754 pathB.lineTo(344.333344f, 1465.66675f); | 3753 pathB.lineTo(344.333344f, 1465.66675f); |
3755 pathB.cubicTo(344.333344f, 1467.32361f, 342.840942f, 1468.66675f, 341, 1468.
66675f); | 3754 pathB.cubicTo(344.333344f, 1467.32361f, 342.840942f, 1468.66675f, 341, 1468.
66675f); |
3756 pathB.lineTo(81, 1468.66675f); | 3755 pathB.lineTo(81, 1468.66675f); |
3757 pathB.cubicTo(79.15905f, 1468.66675f, 77.6666718f, 1467.32361f, 77.6666718f,
1465.66675f); | 3756 pathB.cubicTo(79.15905f, 1468.66675f, 77.6666718f, 1467.32361f, 77.6666718f,
1465.66675f); |
3758 pathB.lineTo(77.6666718f, 1396.66675f); | 3757 pathB.lineTo(77.6666718f, 1396.66675f); |
3759 pathB.cubicTo(77.6666718f, 1394.82568f, 79.15905f, 1393.33337f, 81, 1393.333
37f); | 3758 pathB.cubicTo(77.6666718f, 1394.82568f, 79.15905f, 1393.33337f, 81, 1393.333
37f); |
3760 pathB.close(); | 3759 pathB.close(); |
3761 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); | 3760 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
3762 } | 3761 } |
3763 | 3762 |
3764 #if TEST_NEW_FAILURES | |
3765 // SkOpSegment.cpp:3915: failed assertion "otherEnd >= 0" | |
3766 static void skpwww_shinydemos_com_15(skiatest::Reporter* reporter, const char* f
ilename) { | 3763 static void skpwww_shinydemos_com_15(skiatest::Reporter* reporter, const char* f
ilename) { |
3767 SkPath path; | 3764 SkPath path; |
3768 path.setFillType(SkPath::kEvenOdd_FillType); | 3765 path.setFillType(SkPath::kEvenOdd_FillType); |
3769 path.moveTo(1000, 310.947968f); | 3766 path.moveTo(1000, 310.947968f); |
3770 path.lineTo(771.570374f, 82.5183716f); | 3767 path.lineTo(771.570374f, 82.5183716f); |
3771 path.lineTo(205.884888f, 648.203857f); | 3768 path.lineTo(205.884888f, 648.203857f); |
3772 path.lineTo(448.68103f, 891); | 3769 path.lineTo(448.68103f, 891); |
3773 path.lineTo(641.911255f, 891); | 3770 path.lineTo(641.911255f, 891); |
3774 path.lineTo(1000, 532.911316f); | 3771 path.lineTo(1000, 532.911316f); |
3775 path.lineTo(1000, 310.947968f); | 3772 path.lineTo(1000, 310.947968f); |
3776 path.close(); | 3773 path.close(); |
3777 SkPath pathB; | 3774 SkPath pathB; |
3778 pathB.setFillType(SkPath::kWinding_FillType); | 3775 pathB.setFillType(SkPath::kWinding_FillType); |
3779 pathB.moveTo(771.570374f, 82.5183716f); | 3776 pathB.moveTo(771.570374f, 82.5183716f); |
3780 pathB.lineTo(1110.98169f, 421.929626f); | 3777 pathB.lineTo(1110.98169f, 421.929626f); |
3781 pathB.lineTo(545.296204f, 987.615051f); | 3778 pathB.lineTo(545.296204f, 987.615051f); |
3782 pathB.lineTo(205.884949f, 648.203796f); | 3779 pathB.lineTo(205.884949f, 648.203796f); |
3783 pathB.close(); | 3780 pathB.close(); |
3784 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); | 3781 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
3785 } | 3782 } |
3786 | 3783 |
3787 // SkOpSegment.cpp:4398: failed assertion "!span->fDone" | 3784 // SkOpSegment.cpp:4398: failed assertion "!span->fDone" |
3788 static void skpwww_lptemp_com_5(skiatest::Reporter* reporter, const char* filena
me) { | 3785 static void skpwww_lptemp_com_5(skiatest::Reporter* reporter, const char* filena
me) { |
| 3786 if (/* 0 && */ !FLAGS_runFail) { // has never worked MUST BE FIXED BEFORE N
EXT CHECKIN |
| 3787 return; |
| 3788 } |
3789 SkPath path; | 3789 SkPath path; |
3790 path.setFillType(SkPath::kEvenOdd_FillType); | 3790 path.setFillType(SkPath::kEvenOdd_FillType); |
3791 path.moveTo(78.6429825f, 3150.97632f); | 3791 path.moveTo(78.6429825f, 3150.97632f); |
3792 path.quadTo(79.6192932f, 3150, 81.0000076f, 3150); | 3792 path.quadTo(79.6192932f, 3150, 81.0000076f, 3150); |
3793 path.lineTo(341, 3150); | 3793 path.lineTo(341, 3150); |
3794 path.quadTo(342.380707f, 3150, 343.357025f, 3150.97632f); | 3794 path.quadTo(342.380707f, 3150, 343.357025f, 3150.97632f); |
3795 path.quadTo(344.333344f, 3151.95264f, 344.333344f, 3153.33325f); | 3795 path.quadTo(344.333344f, 3151.95264f, 344.333344f, 3153.33325f); |
3796 path.lineTo(344.333344f, 5205.3335f); | 3796 path.lineTo(344.333344f, 5205.3335f); |
3797 path.quadTo(344.333344f, 5206.71436f, 343.357025f, 5207.69092f); | 3797 path.quadTo(344.333344f, 5206.71436f, 343.357025f, 5207.69092f); |
3798 path.quadTo(342.380707f, 5208.66699f, 341, 5208.66699f); | 3798 path.quadTo(342.380707f, 5208.66699f, 341, 5208.66699f); |
3799 path.lineTo(81.0000076f, 5208.66699f); | 3799 path.lineTo(81.0000076f, 5208.66699f); |
3800 path.quadTo(79.6192932f, 5208.66699f, 78.6429825f, 5207.69092f); | 3800 path.quadTo(79.6192932f, 5208.66699f, 78.6429825f, 5207.69092f); |
3801 path.quadTo(77.6666718f, 5206.71436f, 77.6666718f, 5205.3335f); | 3801 path.quadTo(77.6666718f, 5206.71436f, 77.6666718f, 5205.3335f); |
3802 path.lineTo(77.6666718f, 3153.33325f); | 3802 path.lineTo(77.6666718f, 3153.33325f); |
3803 path.quadTo(77.6666718f, 3151.95264f, 78.6429825f, 3150.97632f); | 3803 path.quadTo(77.6666718f, 3151.95264f, 78.6429825f, 3150.97632f); |
3804 path.close(); | 3804 path.close(); |
3805 SkPath pathB; | 3805 SkPath pathB; |
3806 pathB.setFillType(SkPath::kEvenOdd_FillType); | 3806 pathB.setFillType(SkPath::kEvenOdd_FillType); |
3807 pathB.moveTo(81, 3150); | 3807 pathB.moveTo(81, 3150); |
3808 pathB.lineTo(341, 3150); | 3808 pathB.lineTo(341, 3150); |
3809 pathB.cubicTo(342.840942f, 3150, 344.333344f, 3151.49268f, 344.333344f, 3153
.3335f); | 3809 pathB.cubicTo(342.840942f, 3150, 344.333344f, 3151.49268f, 344.333344f, 3153
.3335f); |
3810 pathB.lineTo(344.333344f, 5205.3335f); | 3810 pathB.lineTo(344.333344f, 5205.3335f); |
3811 pathB.cubicTo(344.333344f, 5206.99023f, 342.840942f, 5208.3335f, 341, 5208.3
335f); | 3811 pathB.cubicTo(344.333344f, 5206.99023f, 342.840942f, 5208.3335f, 341, 5208.3
335f); |
3812 pathB.lineTo(81, 5208.3335f); | 3812 pathB.lineTo(81, 5208.3335f); |
3813 pathB.cubicTo(79.15905f, 5208.3335f, 77.6666718f, 5206.99023f, 77.6666718f,
5205.3335f); | 3813 pathB.cubicTo(79.15905f, 5208.3335f, 77.6666718f, 5206.99023f, 77.6666718f,
5205.3335f); |
3814 pathB.lineTo(77.6666718f, 3153.3335f); | 3814 pathB.lineTo(77.6666718f, 3153.3335f); |
3815 pathB.cubicTo(77.6666718f, 3151.49268f, 79.15905f, 3150, 81, 3150); | 3815 pathB.cubicTo(77.6666718f, 3151.49268f, 79.15905f, 3150, 81, 3150); |
3816 pathB.close(); | 3816 pathB.close(); |
3817 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); | 3817 testPathOpCheck(reporter, path, pathB, kIntersect_PathOp, filename, FLAGS_ru
nFail); |
3818 } | 3818 } |
3819 #endif | |
3820 | 3819 |
3821 static void (*firstTest)(skiatest::Reporter* , const char* filename) = 0; | 3820 static void (*firstTest)(skiatest::Reporter* , const char* filename) = 0; |
3822 | 3821 |
3823 static struct TestDesc tests[] = { | 3822 static struct TestDesc tests[] = { |
3824 TEST(skpwww_lptemp_com_3), | 3823 TEST(skpwww_lptemp_com_3), |
3825 TEST(skpwww_shinydemos_com_5), | 3824 TEST(skpwww_shinydemos_com_5), |
3826 #if TEST_NEW_FAILURES | |
3827 TEST(skpwww_lptemp_com_5), | 3825 TEST(skpwww_lptemp_com_5), |
3828 TEST(skpwww_shinydemos_com_15), | 3826 TEST(skpwww_shinydemos_com_15), |
3829 TEST(skpwww_familysurvivalprotocol_wordpress_com_61), | 3827 TEST(skpwww_familysurvivalprotocol_wordpress_com_61), |
3830 TEST(skpwww_alamdi_com_3), | 3828 TEST(skpwww_alamdi_com_3), |
3831 TEST(skpwww_devbridge_com_22), | 3829 TEST(skpwww_devbridge_com_22), |
3832 #endif | |
3833 TEST(skpwww_firstunitedbank_com_19), | 3830 TEST(skpwww_firstunitedbank_com_19), |
3834 TEST(skpwww_googleventures_com_32), | 3831 TEST(skpwww_googleventures_com_32), |
3835 TEST(skpwww_9to5mac_com_64), | 3832 TEST(skpwww_9to5mac_com_64), |
3836 TEST(skpwww_wartepop_blogspot_com_br_6), | 3833 TEST(skpwww_wartepop_blogspot_com_br_6), |
3837 TEST(skpwww_wartepop_blogspot_com_br_6a), | 3834 TEST(skpwww_wartepop_blogspot_com_br_6a), |
3838 TEST(skpwww_cooksnaps_com_32a), | 3835 TEST(skpwww_cooksnaps_com_32a), |
3839 TEST(skpwww_argus_presse_fr_41), | 3836 TEST(skpwww_argus_presse_fr_41), |
3840 TEST(skpwww_cooksnaps_com_17), | 3837 TEST(skpwww_cooksnaps_com_17), |
3841 TEST(skpwww_cooksnaps_com_32), | 3838 TEST(skpwww_cooksnaps_com_32), |
3842 TEST(skpwww_kitcheninspirations_wordpress_com_66), | 3839 TEST(skpwww_kitcheninspirations_wordpress_com_66), |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3943 | 3940 |
3944 static bool runReverse = false; | 3941 static bool runReverse = false; |
3945 static void (*stopTest)(skiatest::Reporter* , const char* filename) = 0; | 3942 static void (*stopTest)(skiatest::Reporter* , const char* filename) = 0; |
3946 | 3943 |
3947 DEF_TEST(PathOpsSkp, reporter) { | 3944 DEF_TEST(PathOpsSkp, reporter) { |
3948 #if DEBUG_SHOW_TEST_NAME | 3945 #if DEBUG_SHOW_TEST_NAME |
3949 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); | 3946 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); |
3950 #endif | 3947 #endif |
3951 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse); | 3948 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse); |
3952 } | 3949 } |
OLD | NEW |