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

Issue 1404723002: Add unit test for top-level bookmarks. (Closed)

Created:
5 years, 2 months ago by Tom Sepez
Modified:
5 years, 2 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add unit test for top-level bookmarks. Null FPDF_BOOKMARK represents the "root" bookmark, and must not segv when asking about titles or children. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/7d54a9f70f977ce9b72959ef55dc6300713ccafe

Patch Set 1 #

Patch Set 2 : Better test, flunks on early !pDict return. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -65 lines) Patch
M fpdfsdk/src/fpdfdoc_embeddertest.cpp View 1 2 chunks +39 lines, -0 lines 0 comments Download
A + testing/resources/bookmarks.in View 1 2 chunks +16 lines, -27 lines 0 comments Download
A + testing/resources/bookmarks.pdf View 1 3 chunks +27 lines, -38 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Tom Sepez
Lei, unit test as requested.
5 years, 2 months ago (2015-10-13 23:02:06 UTC) #1
Tom Sepez
On 2015/10/13 23:02:06, Tom Sepez wrote: > Lei, unit test as requested. Hang on. This ...
5 years, 2 months ago (2015-10-13 23:04:26 UTC) #2
Tom Sepez
Okay, that's better PTAL.
5 years, 2 months ago (2015-10-13 23:54:39 UTC) #3
Lei Zhang
lgtm
5 years, 2 months ago (2015-10-14 00:00:01 UTC) #4
Tom Sepez
5 years, 2 months ago (2015-10-14 16:17:07 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
7d54a9f70f977ce9b72959ef55dc6300713ccafe (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698