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

Issue 812933004: Add API tests for NamedDestsByName, DestGetPageIndex. (Closed)

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

Description

Add API tests: NamedDestsByName, DestGetPageIndex. This also adds a fpdfdoc_embeddertest.cpp to keep the test file name matching with the API call under test. R=bo_xu@foxitsoftware.com Committed: https://pdfium.googlesource.com/pdfium/+/83f96a01a2cfd64d0a370e74c3f4353eb9a102d2

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove needless header includes #

Patch Set 3 : Test indirect references. #

Patch Set 4 : comments in pdf. #

Total comments: 2

Patch Set 5 : Incorporate page content as suggested by Bo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -51 lines) Patch
A fpdfsdk/src/fpdfdoc_embeddertest.cpp View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
M fpdfsdk/src/fpdfview_embeddertest.cpp View 1 chunk +37 lines, -0 lines 0 comments Download
M pdfium.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M testing/resources/named_dests.in View 1 2 3 4 3 chunks +61 lines, -21 lines 0 comments Download
M testing/resources/named_dests.pdf View 1 2 3 4 3 chunks +78 lines, -30 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
Tom Sepez
Bo, please review.
5 years, 11 months ago (2015-01-21 23:13:53 UTC) #2
Bo Xu
We are trying to get page 11, but there is only one page. It maybe ...
5 years, 11 months ago (2015-01-22 00:28:52 UTC) #3
Tom Sepez
On 2015/01/22 00:28:52, Bo Xu wrote: > We are trying to get page 11, but ...
5 years, 11 months ago (2015-01-22 00:33:35 UTC) #4
Tom Sepez
> Let me check our developers to make sure the document conforms to the standard ...
5 years, 11 months ago (2015-01-22 00:43:47 UTC) #5
Tom Sepez
See PS#3.
5 years, 11 months ago (2015-01-22 01:08:52 UTC) #6
Bo Xu
Wrong parents will cause adobe reader report error upon opening the pdf. (I know I ...
5 years, 11 months ago (2015-01-22 17:59:32 UTC) #7
Tom Sepez
On 2015/01/22 17:59:32, Bo Xu wrote: > Wrong parents will cause adobe reader report error ...
5 years, 11 months ago (2015-01-22 18:22:17 UTC) #8
Bo Xu
LGTM
5 years, 11 months ago (2015-01-22 19:06:17 UTC) #9
Tom Sepez
5 years, 11 months ago (2015-01-22 19:11:49 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
83f96a01a2cfd64d0a370e74c3f4353eb9a102d2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698