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

Side by Side Diff: tests/PathOpsOpTest.cpp

Issue 2277893004: mark fuzz test flaky since it may fail on some platforms (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 3 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 6958 matching lines...) Expand 10 before | Expand all | Expand 10 after
6969 path.conicTo(SkBits2Float(0x084b0321), SkBits2Float(0x6ac07b2a), SkBits2Float(0x 395b2d7a), SkBits2Float(0xf05b5568), SkBits2Float(0x212a3a8c)); // 6.10918e-34f , 1.16348e+26f, 0.000209024f, -2.71522e+29f, 5.76757e-19f 6969 path.conicTo(SkBits2Float(0x084b0321), SkBits2Float(0x6ac07b2a), SkBits2Float(0x 395b2d7a), SkBits2Float(0xf05b5568), SkBits2Float(0x212a3a8c)); // 6.10918e-34f , 1.16348e+26f, 0.000209024f, -2.71522e+29f, 5.76757e-19f
6970 path.conicTo(SkBits2Float(0x290321d9), SkBits2Float(0x555b2d68), SkBits2Float(0x 2a8c558c), SkBits2Float(0x2abe2a1f), SkBits2Float(0x7bc00321)); // 2.91172e-14f , 1.50618e+13f, 2.49284e-13f, 3.378e-13f, 1.99397e+36f 6970 path.conicTo(SkBits2Float(0x290321d9), SkBits2Float(0x555b2d68), SkBits2Float(0x 2a8c558c), SkBits2Float(0x2abe2a1f), SkBits2Float(0x7bc00321)); // 2.91172e-14f , 1.50618e+13f, 2.49284e-13f, 3.378e-13f, 1.99397e+36f
6971 path.lineTo(SkBits2Float(0x68395b2d), SkBits2Float(0xf0682955)); // 3.50128e+24 f, -2.87402e+29f 6971 path.lineTo(SkBits2Float(0x68395b2d), SkBits2Float(0xf0682955)); // 3.50128e+24 f, -2.87402e+29f
6972 path.close(); 6972 path.close();
6973 path.moveTo(SkBits2Float(0x68395b2d), SkBits2Float(0xf0682955)); // 3.50128e+24 f, -2.87402e+29f 6973 path.moveTo(SkBits2Float(0x68395b2d), SkBits2Float(0xf0682955)); // 3.50128e+24 f, -2.87402e+29f
6974 path.lineTo(SkBits2Float(0x8c2aed7a), SkBits2Float(0x1f2128c0)); // -1.31678e-3 1f, 3.41268e-20f 6974 path.lineTo(SkBits2Float(0x8c2aed7a), SkBits2Float(0x1f2128c0)); // -1.31678e-3 1f, 3.41268e-20f
6975 path.lineTo(SkBits2Float(0x68395b2d), SkBits2Float(0xf0682955)); // 3.50128e+24 f, -2.87402e+29f 6975 path.lineTo(SkBits2Float(0x68395b2d), SkBits2Float(0xf0682955)); // 3.50128e+24 f, -2.87402e+29f
6976 path.close(); 6976 path.close();
6977 6977
6978 SkPath path2(path); 6978 SkPath path2(path);
6979 testPathOpSkipAssert(reporter, path1, path2, (SkPathOp) 0, filename); 6979 testPathOpFlakySkipAssert(reporter, path1, path2, (SkPathOp) 0, filename);
6980 } 6980 }
6981 6981
6982 static void fuzz763_20(skiatest::Reporter* reporter, const char* filename) { 6982 static void fuzz763_20(skiatest::Reporter* reporter, const char* filename) {
6983 SkPath path; 6983 SkPath path;
6984 path.setFillType((SkPath::FillType) 0); 6984 path.setFillType((SkPath::FillType) 0);
6985 6985
6986 SkPath path1(path); 6986 SkPath path1(path);
6987 path.reset(); 6987 path.reset();
6988 path.setFillType((SkPath::FillType) 0); 6988 path.setFillType((SkPath::FillType) 0);
6989 path.moveTo(SkBits2Float(0x68556829), SkBits2Float(0x555b2d29)); // 4.03114e+24 f, 1.50617e+13f 6989 path.moveTo(SkBits2Float(0x68556829), SkBits2Float(0x555b2d29)); // 4.03114e+24 f, 1.50617e+13f
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
7428 static struct TestDesc repTests[] = { 7428 static struct TestDesc repTests[] = {
7429 TEST(loops44i), 7429 TEST(loops44i),
7430 TEST(loops45i), 7430 TEST(loops45i),
7431 TEST(loops46i), 7431 TEST(loops46i),
7432 }; 7432 };
7433 7433
7434 DEF_TEST(PathOpsRepOp, reporter) { 7434 DEF_TEST(PathOpsRepOp, reporter) {
7435 for (int index = 0; index < 2; ++index) 7435 for (int index = 0; index < 2; ++index)
7436 RunTestSet(reporter, repTests, SK_ARRAY_COUNT(repTests), nullptr, nullptr, n ullptr, false); 7436 RunTestSet(reporter, repTests, SK_ARRAY_COUNT(repTests), nullptr, nullptr, n ullptr, false);
7437 } 7437 }
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