diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-09 13:33:31 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-09 21:22:56 +0000 |
commit | abe828092706c6c2c21d89dae93bc7efa854b67d (patch) | |
tree | 700c3b357dd3d3f96d7021e3e2da3c772cf2c8aa /core/fpdfapi/parser | |
parent | be993d2200ad4521e1031c7b9eb0f8f9b49fabb0 (diff) | |
download | pdfium-abe828092706c6c2c21d89dae93bc7efa854b67d.tar.xz |
Add a FPDF_GetFileVersion() test for a linearized document.
Change the CPDFParserEmbeddertest.Feature_Linearized_Loading test case
into FPDFViewEmbeddertest.LinearizedDocument, and add a call to
FPDF_GetFileVersion().
Change-Id: I0272c1e71c6f61393838bd3db41b154c4f5620ba
Reviewed-on: https://pdfium-review.googlesource.com/10450
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser')
-rw-r--r-- | core/fpdfapi/parser/cpdf_parser_embeddertest.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser_embeddertest.cpp b/core/fpdfapi/parser/cpdf_parser_embeddertest.cpp index f523d6b31b..fa3a76a4c4 100644 --- a/core/fpdfapi/parser/cpdf_parser_embeddertest.cpp +++ b/core/fpdfapi/parser/cpdf_parser_embeddertest.cpp @@ -31,10 +31,6 @@ TEST_F(CPDFParserEmbeddertest, Bug_544880) { (void)GetPageCount(); } -TEST_F(CPDFParserEmbeddertest, Feature_Linearized_Loading) { - EXPECT_TRUE(OpenDocument("feature_linearized_loading.pdf", nullptr, true)); -} - TEST_F(CPDFParserEmbeddertest, Bug_325a) { EXPECT_FALSE(OpenDocument("bug_325_a.pdf")); } |