summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp')
-rw-r--r--core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp
index 8737566619..fed7dbd395 100644
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp
@@ -8,7 +8,7 @@
class FPDFParserEmbeddertest : public EmbedderTest {};
TEST_F(FPDFParserEmbeddertest, LoadError_454695) {
- // Test trailer dictionary with $$ze instead of Size.
+ // Test a dictionary with hex string instead of correct content.
// Verify that the defective pdf shouldn't be opened correctly.
EXPECT_FALSE(OpenDocument("bug_454695.pdf"));
}
@@ -29,3 +29,8 @@ TEST_F(FPDFParserEmbeddertest, Bug_544880) {
// rather than the actual count (0).
(void)GetPageCount();
}
+
+TEST_F(FPDFParserEmbeddertest, Feature_Linearized_Loading) {
+ EXPECT_TRUE(
+ OpenDocument("feature_linearized_loading.pdf", true));
+}