Add unit test for top-level bookmarks.
authorTom Sepez <tsepez@chromium.org>
Wed, 14 Oct 2015 16:17:02 +0000 (09:17 -0700)
committerTom Sepez <tsepez@chromium.org>
Wed, 14 Oct 2015 16:17:02 +0000 (09:17 -0700)
commit7d54a9f70f977ce9b72959ef55dc6300713ccafe
tree454c7a212dd1aa57ca0a0295f1f0cfa4a557bcaa
parent618a00d0c5bdd8b7e10dbe5f78930226d321fe95
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

Review URL: https://codereview.chromium.org/1404723002 .
fpdfsdk/src/fpdfdoc_embeddertest.cpp
testing/resources/bookmarks.in [new file with mode: 0644]
testing/resources/bookmarks.pdf [new file with mode: 0644]