Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(479)

Issue 5674077: Adding unit tests for SkCanvas and its sub classes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by junov1
Modified:
12 years, 4 months ago
Reviewers:
twiz, reed1
CC:
alokp1, twiz1, vangelis
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 15

Patch Set 2 : response to feedback from twiz #

Patch Set 3 : Just the unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+754 lines, -43 lines) Patch
M include/core/SkStream.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkPictureRecord.h View 1 chunk +1 line, -0 lines 0 comments Download
M tests/CanvasTest.cpp View 1 2 1 chunk +741 lines, -41 lines 0 comments Download
M tests/Test.h View 1 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 7
junov1
This is a pretty big unit test for Canvas. I added test cases that cover ...
12 years, 4 months ago (2012-02-16 20:37:52 UTC) #1
twiz
Cool beans, Justin. Just some nits from a quick drive-by. http://codereview.appspot.com/5674077/diff/1/include/core/SkCanvas.h File include/core/SkCanvas.h (right): http://codereview.appspot.com/5674077/diff/1/include/core/SkCanvas.h#newcode929 ...
12 years, 4 months ago (2012-02-16 21:32:17 UTC) #2
junov1
http://codereview.appspot.com/5674077/diff/1/src/utils/SkDeferredCanvas.cpp#newcode24 > src/utils/SkDeferredCanvas.cpp:24: paint = &defaultPaint; > If there is no paint, do we need ...
12 years, 4 months ago (2012-02-16 22:24:56 UTC) #3
junov1
Latest patch addresses comments by twiz.
12 years, 4 months ago (2012-02-22 14:58:14 UTC) #4
reed1
There are many things going on in this CL beyond adding unittests. Its a little ...
12 years, 4 months ago (2012-02-22 16:42:28 UTC) #5
junov1
Ok, patch set 3, has just the test and code changes that are necessary to ...
12 years, 4 months ago (2012-02-22 20:15:10 UTC) #6
reed1
12 years, 4 months ago (2012-02-22 20:45:53 UTC) #7
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b