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

Side by Side Diff: tests/PathOpsOpTest.cpp

Issue 2366893003: fix msan bug in pathops (Closed)
Patch Set: Created 4 years, 2 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 | « src/pathops/SkPathOpsCurve.cpp ('k') | 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 7972 matching lines...) Expand 10 before | Expand all | Expand 10 after
7983 static const size_t failTestCount = SK_ARRAY_COUNT(failTests); 7983 static const size_t failTestCount = SK_ARRAY_COUNT(failTests);
7984 7984
7985 DEF_TEST(PathOpsFailOp, reporter) { 7985 DEF_TEST(PathOpsFailOp, reporter) {
7986 #if DEBUG_SHOW_TEST_NAME 7986 #if DEBUG_SHOW_TEST_NAME
7987 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); 7987 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH);
7988 #endif 7988 #endif
7989 RunTestSet(reporter, failTests, failTestCount, nullptr, nullptr, nullptr, fa lse); 7989 RunTestSet(reporter, failTests, failTestCount, nullptr, nullptr, nullptr, fa lse);
7990 } 7990 }
7991 7991
7992 static struct TestDesc repTests[] = { 7992 static struct TestDesc repTests[] = {
7993 TEST(loops44i), 7993 TEST(fuzz763_5a),
7994 TEST(loops45i),
7995 TEST(loops46i),
7996 }; 7994 };
7997 7995
7998 DEF_TEST(PathOpsRepOp, reporter) { 7996 DEF_TEST(PathOpsRepOp, reporter) {
7999 for (int index = 0; index < 2; ++index) 7997 for (int index = 0; index < 1; ++index)
8000 RunTestSet(reporter, repTests, SK_ARRAY_COUNT(repTests), nullptr, nullptr, n ullptr, false); 7998 RunTestSet(reporter, repTests, SK_ARRAY_COUNT(repTests), nullptr, nullptr, n ullptr, false);
8001 } 7999 }
OLDNEW
« no previous file with comments | « src/pathops/SkPathOpsCurve.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698