aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsBuilderTest.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-09-01 06:22:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-01 06:22:36 -0700
commit580c40ae71a4914a9f4fa247accf86810e3463db (patch)
tree20fd9f12bce3a004fa7f693079fb4d445923c3cc /tests/PathOpsBuilderTest.cpp
parentf6703fa0aa98c61b78e2dbd52f610e3c5cd4a4da (diff)
link test to bug
crbug.com/526025 includes a minimized SVG test case. Translating that test case into native code (fuzzTNG) did not reproduce the bug. That test case should have not been included with skia issue 1323813003, and is deleted here. Running the minimal test case in a modified version of chrome isolated the bug. The modified version generated the test fuzz763_3 with the edit #define DEBUGGING_PATHOPS_FROM_HOST 1 in src/pathops/SkPathopsOp.cpp line 188. Rename fuzz763_3 to issue_526025 to associate the test with the bug. Note that the bug contains the body of the CL in comment $5. R=reed@google.com Review URL: https://codereview.chromium.org/1315503005
Diffstat (limited to 'tests/PathOpsBuilderTest.cpp')
-rw-r--r--tests/PathOpsBuilderTest.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/PathOpsBuilderTest.cpp b/tests/PathOpsBuilderTest.cpp
index 88bfe1e554..5cf49cf637 100644
--- a/tests/PathOpsBuilderTest.cpp
+++ b/tests/PathOpsBuilderTest.cpp
@@ -270,27 +270,3 @@ DEF_TEST(Fuzz846, reporter) {
SkPath result;
builder.resolve(&result);
}
-
-#include "SkParsePath.h"
-
-DEF_TEST(fuzzTNG, reporter) {
- const char* pathStrs[] = {
-"M360,-2147483648.000000000000000000000000000000000000000000000000000001 A3240,3240 0.0 0 11 256,256 L100000000,4140 Z",
-"M360,4140 A11,-1 0.0 0 0 6840,4140 L100,512 L32,16 L360,1024 Z",
-"M360,4140 A3240,1000000001 32768 1024 128 100000000.000000000000000000000000000000000000000000000000000001,512 Z",
-"M127,321 L6840,270 L-21474836481,100000000 L2551,64 Z",
-"M-128,4140 Z",
- };
- SkPath clip[SK_ARRAY_COUNT(pathStrs)];
- SkOpBuilder builder;
- for (size_t i = 0; i < SK_ARRAY_COUNT(pathStrs); ++i) {
- SkParsePath::FromSVGString(pathStrs[i], &clip[i]);
- builder.add(clip[i], kUnion_SkPathOp);
- }
- SkPath result;
- builder.resolve(&result);
- SkPath path;
- SkParsePath::FromSVGString("M-315,7425 L4096,7425 L-1000000001,-315 L-315,7425 Z", &path);
- builder.add(path, kDifference_SkPathOp);
- testPathOp(reporter, result, path, kDifference_SkPathOp, __FUNCTION__);
-}