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

Side by Side Diff: tests/PathOpsOpTest.cpp

Issue 2160713003: disable test that fails to compute bounds on nexus 5 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "PathOpsTestCommon.h" 8 #include "PathOpsTestCommon.h"
9 9
10 class PathTest_Private { 10 class PathTest_Private {
(...skipping 6233 matching lines...) Expand 10 before | Expand all | Expand 10 after
6244 path.close(); 6244 path.close();
6245 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0, 0 6245 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0, 0
6246 path.lineTo(SkBits2Float(0x8dfefa00), SkBits2Float(0xf0f9fad9)); // -1.5714 1e-30f, -6.1892e+29f 6246 path.lineTo(SkBits2Float(0x8dfefa00), SkBits2Float(0xf0f9fad9)); // -1.5714 1e-30f, -6.1892e+29f
6247 path.cubicTo(SkBits2Float(0x20fe58f9), SkBits2Float(0x0525fbed), SkBits2Floa t(0x1905ffff), SkBits2Float(0x01f9f9f9), SkBits2Float(0xfbfe0ef9), SkBits2Float( 0xfb212fff)); // 4.30882e-19f, 7.80453e-36f, 6.92764e-24f, 9.18268e-38f, -2.638 29e+36f, -8.36933e+35f 6247 path.cubicTo(SkBits2Float(0x20fe58f9), SkBits2Float(0x0525fbed), SkBits2Floa t(0x1905ffff), SkBits2Float(0x01f9f9f9), SkBits2Float(0xfbfe0ef9), SkBits2Float( 0xfb212fff)); // 4.30882e-19f, 7.80453e-36f, 6.92764e-24f, 9.18268e-38f, -2.638 29e+36f, -8.36933e+35f
6248 6248
6249 SkPath path2(path); 6249 SkPath path2(path);
6250 testPathOp(reporter, path1, path2, (SkPathOp)2, filename); 6250 testPathOp(reporter, path1, path2, (SkPathOp)2, filename);
6251 } 6251 }
6252 6252
6253 static void fuzz763_1a(skiatest::Reporter* reporter, const char* filename) { 6253 static void fuzz763_1a(skiatest::Reporter* reporter, const char* filename) {
6254 // FIXME: fails on Nexus5 by generating a path with points that are not inside t he path bounds
6255 #if DEBUG_UNDER_DEVELOPMENT
6256 return;
6257 #endif
6254 SkPath path; 6258 SkPath path;
6255 path.setFillType((SkPath::FillType) 0); 6259 path.setFillType((SkPath::FillType) 0);
6256 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0, 0 6260 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0, 0
6257 path.cubicTo(SkBits2Float(0x154be880), SkBits2Float(0x80000640), SkBits2Floa t(0x5559a419), SkBits2Float(0x59d55928), SkBits2Float(0x80045959), SkBits2Float( 0x40154be8)); // 4.11789e-26f, -2.24208e-42f, 1.49562e+13f, 7.50652e+15f, -3.99 394e-40f, 2.33276f 6261 path.cubicTo(SkBits2Float(0x154be880), SkBits2Float(0x80000640), SkBits2Floa t(0x5559a419), SkBits2Float(0x59d55928), SkBits2Float(0x80045959), SkBits2Float( 0x40154be8)); // 4.11789e-26f, -2.24208e-42f, 1.49562e+13f, 7.50652e+15f, -3.99 394e-40f, 2.33276f
6258 6262
6259 SkPath path1(path); 6263 SkPath path1(path);
6260 path.reset(); 6264 path.reset();
6261 path.setFillType((SkPath::FillType) 0); 6265 path.setFillType((SkPath::FillType) 0);
6262 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0, 0 6266 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0, 0
6263 path.quadTo(SkBits2Float(0x5559a419), SkBits2Float(0x59d55928), SkBits2Float (0xbd595959), SkBits2Float(0x3f3f3f09)); // 1.49562e+13f, 7.50652e+15f, -0.0530 637f, 0.747056f 6267 path.quadTo(SkBits2Float(0x5559a419), SkBits2Float(0x59d55928), SkBits2Float (0xbd595959), SkBits2Float(0x3f3f3f09)); // 1.49562e+13f, 7.50652e+15f, -0.0530 637f, 0.747056f
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
6455 static struct TestDesc repTests[] = { 6459 static struct TestDesc repTests[] = {
6456 TEST(loops44i), 6460 TEST(loops44i),
6457 TEST(loops45i), 6461 TEST(loops45i),
6458 TEST(loops46i), 6462 TEST(loops46i),
6459 }; 6463 };
6460 6464
6461 DEF_TEST(PathOpsRepOp, reporter) { 6465 DEF_TEST(PathOpsRepOp, reporter) {
6462 for (int index = 0; index < 2; ++index) 6466 for (int index = 0; index < 2; ++index)
6463 RunTestSet(reporter, repTests, SK_ARRAY_COUNT(repTests), nullptr, nullptr, n ullptr, false); 6467 RunTestSet(reporter, repTests, SK_ARRAY_COUNT(repTests), nullptr, nullptr, n ullptr, false);
6464 } 6468 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698