From 330313a8a8343876ee596da39da06a5d69badd9c Mon Sep 17 00:00:00 2001 From: "mtklein@google.com" Date: Thu, 22 Aug 2013 15:37:26 +0000 Subject: My clang now doesn't complain about !"foo". BUG= R=robertphillips@google.com Review URL: https://codereview.chromium.org/22875037 git-svn-id: http://skia.googlecode.com/svn/trunk@10874 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PathTest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/PathTest.cpp') diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index e6795d63c5..ed80d41aa2 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -568,13 +568,13 @@ static void test_poly(skiatest::Reporter* reporter, const SkPath& path, srcPts++; break; case SkPath::kQuad_Verb: - REPORTER_ASSERT(reporter, !"unexpected quad verb"); + REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected quad verb"); break; case SkPath::kConic_Verb: - REPORTER_ASSERT(reporter, !"unexpected conic verb"); + REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected conic verb"); break; case SkPath::kCubic_Verb: - REPORTER_ASSERT(reporter, !"unexpected cubic verb"); + REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected cubic verb"); break; case SkPath::kClose_Verb: REPORTER_ASSERT(reporter, !firstTime); @@ -2117,7 +2117,7 @@ static void test_raw_iter(skiatest::Reporter* reporter) { lastWasClose = true; break; default: - SkASSERT(!"unexpected verb"); + SkDEBUGFAIL("unexpected verb"); } expectedVerbs[numIterVerbs++] = nextVerb; } @@ -2170,7 +2170,7 @@ static void test_raw_iter(skiatest::Reporter* reporter) { lastPt = lastMoveTo; break; default: - SkASSERT(!"unexpected verb"); + SkDEBUGFAIL("unexpected verb"); } } REPORTER_ASSERT(reporter, numIterPts == numPoints); -- cgit v1.2.3