diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-18 12:51:48 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-18 12:51:48 +0000 |
commit | 92362383a4de7b0d819c88fa8b74242bb2507602 (patch) | |
tree | 4629fb56f5785e33c5fba83881ff753f118b1973 /tests | |
parent | 2077427227de9bf2627c819d82d2b951886796c8 (diff) |
Remove SkCanvas matrix ops return value.
The internal SkMatrix ops can no longer fail -> we can remove the bool
return value.
R=bsalomon@google.com, reed@google.com, robertphillips@google.com, scroggo@google.com, fmalita@google.com
Author: fmalita@chromium.org
Review URL: https://codereview.chromium.org/200223008
git-svn-id: http://skia.googlecode.com/svn/trunk@13849 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CanvasTest.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp index 4b6f0fa3eb..50371d149d 100644 --- a/tests/CanvasTest.cpp +++ b/tests/CanvasTest.cpp @@ -312,14 +312,11 @@ TEST_STEP(NAME, NAME##TestStep ) // Basic test steps for most virtual methods in SkCanvas that draw or affect // the state of the canvas. -SIMPLE_TEST_STEP_WITH_ASSERT(Translate, - translate(SkIntToScalar(1), SkIntToScalar(2))); -SIMPLE_TEST_STEP_WITH_ASSERT(Scale, - scale(SkIntToScalar(1), SkIntToScalar(2))); -SIMPLE_TEST_STEP_WITH_ASSERT(Rotate, rotate(SkIntToScalar(1))); -SIMPLE_TEST_STEP_WITH_ASSERT(Skew, - skew(SkIntToScalar(1), SkIntToScalar(2))); -SIMPLE_TEST_STEP_WITH_ASSERT(Concat, concat(kTestMatrix)); +SIMPLE_TEST_STEP(Translate, translate(SkIntToScalar(1), SkIntToScalar(2))); +SIMPLE_TEST_STEP(Scale, scale(SkIntToScalar(1), SkIntToScalar(2))); +SIMPLE_TEST_STEP(Rotate, rotate(SkIntToScalar(1))); +SIMPLE_TEST_STEP(Skew, skew(SkIntToScalar(1), SkIntToScalar(2))); +SIMPLE_TEST_STEP(Concat, concat(kTestMatrix)); SIMPLE_TEST_STEP(SetMatrix, setMatrix(kTestMatrix)); SIMPLE_TEST_STEP(ClipRect, clipRect(kTestRect)); SIMPLE_TEST_STEP(ClipPath, clipPath(kTestPath)); |