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

Issue 2322133003: SkPDF/Tests: imporve test coverage. (Closed)

Created:
4 years, 3 months ago by hal.canary
Modified:
4 years, 3 months ago
Reviewers:
tomhudson
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkPDF/Tests: imporve test coverage. Also: make sure that all SkPDF unit tests are named SkPDF_* to make testing changes to SkPDF easier. Other cleanup. Add test: SkPDF_pdfa_document to verify that flag in public API works. SkPDF_JpegIdentification test: test slightly malformed JPEGs to verify that all code paths work. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2322133003 Committed: https://skia.googlesource.com/skia/+/57f744e3030fec4d1a2b3e9119011904b149a4da

Patch Set 1 #

Patch Set 2 : uh oh fix build #

Total comments: 2

Patch Set 3 : toms nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -20 lines) Patch
M tests/PDFDeflateWStreamTest.cpp View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M tests/PDFDocumentTest.cpp View 4 chunks +65 lines, -5 lines 0 comments Download
M tests/PDFGlyphsToUnicodeTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/PDFInvalidBitmapTest.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M tests/PDFJpegEmbedTest.cpp View 4 chunks +103 lines, -7 lines 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 5 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
hal.canary
PTAL
4 years, 3 months ago (2016-09-08 21:12:39 UTC) #5
tomhudson
lgtm https://codereview.chromium.org/2322133003/diff/20001/tests/PDFDeflateWStreamTest.cpp File tests/PDFDeflateWStreamTest.cpp (right): https://codereview.chromium.org/2322133003/diff/20001/tests/PDFDeflateWStreamTest.cpp#newcode163 tests/PDFDeflateWStreamTest.cpp:163: SkDeflateWStream deflateWStream2(nullptr); nit: if we name this "nullWStream" ...
4 years, 3 months ago (2016-09-09 14:45:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2322133003/40001
4 years, 3 months ago (2016-09-09 18:19:11 UTC) #15
hal.canary
https://codereview.chromium.org/2322133003/diff/20001/tests/PDFDeflateWStreamTest.cpp File tests/PDFDeflateWStreamTest.cpp (right): https://codereview.chromium.org/2322133003/diff/20001/tests/PDFDeflateWStreamTest.cpp#newcode163 tests/PDFDeflateWStreamTest.cpp:163: SkDeflateWStream deflateWStream2(nullptr); On 2016/09/09 14:45:49, tomhudson wrote: > nit: ...
4 years, 3 months ago (2016-09-09 18:19:13 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 18:42:02 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/57f744e3030fec4d1a2b3e9119011904b149a4da

Powered by Google App Engine
This is Rietveld 408576698