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

Unified Diff: testing/resources/parser_rebuildxref_correct.pdf

Issue 1409013005: Add base test for RebuildCrossRef function. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testing/resources/parser_rebuildxref_correct.pdf
diff --git a/testing/resources/hello_world.in b/testing/resources/parser_rebuildxref_correct.pdf
similarity index 61%
copy from testing/resources/hello_world.in
copy to testing/resources/parser_rebuildxref_correct.pdf
index 19fce0ce335de77ea31e295a87025eb52f65110e..93f56fba9b2d4f78c8350ec496fbff4db72fd2de 100644
--- a/testing/resources/hello_world.in
+++ b/testing/resources/parser_rebuildxref_correct.pdf
@@ -1,56 +0,0 @@
-{{header}}
-{{object 1 0}} <<
- /Type /Catalog
- /Pages 2 0 R
->>
-{{object 2 0}} <<
- /Type /Pages
- /MediaBox [ 0 0 200 200 ]
- /Count 1
- /Kids [ 3 0 R ]
->>
-endobj
-{{object 3 0}} <<
- /Type /Page
- /Parent 2 0 R
- /Resources <<
- /Font <<
- /F1 4 0 R
- /F2 5 0 R
- >>
- >>
- /Contents 6 0 R
->>
-endobj
-{{object 4 0}} <<
- /Type /Font
- /Subtype /Type1
- /BaseFont /Times-Roman
->>
-endobj
-{{object 5 0}} <<
- /Type /Font
- /Subtype /Type1
- /BaseFont /Helvetica
->>
-endobj
-{{object 6 0}} <<
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(Hello, world!) Tj
-0 50 Td
-/F2 16 Tf
-(Goodbye, world!) Tj
-ET
-endstream
-endobj
-{{xref}}
-trailer <<
- /Size 6
- /Root 1 0 R
->>
-{{startxref}}
-%%EOF

Powered by Google App Engine
This is Rietveld 408576698