diff options
author | Cary Clark <caryclark@skia.org> | 2018-07-24 12:40:10 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-24 17:08:55 +0000 |
commit | 2587f41f2667b2add97f75583b71ebb74bc48af1 (patch) | |
tree | b1e24e0b61631d780d00746f7c6483609c100452 /tests/PathOpsExtendedTest.h | |
parent | 6a4e60bb8f49e4a031e8fc99c4d8edaa25b3619f (diff) |
handle failing pathop tests
Some tests isolated from GrShapes_arcs do not
fail gracefully, so make sure errors are properly
handled.
TBR=reed@google.com
Bug: skia:
Change-Id: Ia8c9903e64ef755ec11c398df3e5d258ca1f5f8b
Reviewed-on: https://skia-review.googlesource.com/143112
Reviewed-by: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tests/PathOpsExtendedTest.h')
-rw-r--r-- | tests/PathOpsExtendedTest.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/PathOpsExtendedTest.h b/tests/PathOpsExtendedTest.h index 9f8b0aeaac..5095a9d56f 100644 --- a/tests/PathOpsExtendedTest.h +++ b/tests/PathOpsExtendedTest.h @@ -38,15 +38,17 @@ extern bool testPathOpCheck(skiatest::Reporter* reporter, const SkPath& a, const const SkPathOp , const char* testName, bool checkFail); extern bool testPathOpFail(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, const SkPathOp, const char* testName); -extern bool testPathOpFuzz(skiatest::Reporter* reporter, const SkPath& a, - const SkPath& b, const SkPathOp , const char* testName); +extern bool testPathOpFuzz(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, + const SkPathOp , const char* testName); extern bool testSimplify(SkPath& path, bool useXor, SkPath& out, PathOpsThreadState& state, const char* pathStr); extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename); extern bool testSimplifyCheck(skiatest::Reporter* reporter, const SkPath& path, const char* filename, bool checkFail); +extern bool testSimplifyFail(skiatest::Reporter* reporter, const SkPath& path, + const char* filename); extern bool testSimplifyFuzz(skiatest::Reporter* reporter, const SkPath& path, - const char* filename); + const char* filename); void initializeTests(skiatest::Reporter* reporter, const char* testName); |