Merge to XFA: Revert "Add test case for parsing endobj keywords."
authorDan Sinclair <dsinclair@chromium.org>
Wed, 28 Oct 2015 20:28:38 +0000 (16:28 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Wed, 28 Oct 2015 20:28:38 +0000 (16:28 -0400)
This reverts commit 5bd88ec07e79215400777f3095c6843e0627cade.

(cherry picked from commit 97dd3fec106ac8a945e03ed1509af0a8b73da993)

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1430533003 .

26 files changed:
testing/resources/pixel/endobj1.in [deleted file]
testing/resources/pixel/endobj10.in [deleted file]
testing/resources/pixel/endobj10_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj11.in [deleted file]
testing/resources/pixel/endobj11_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj12.in [deleted file]
testing/resources/pixel/endobj12_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj13.in [deleted file]
testing/resources/pixel/endobj13_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj1_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj2.in [deleted file]
testing/resources/pixel/endobj2_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj3.in [deleted file]
testing/resources/pixel/endobj3_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj4.in [deleted file]
testing/resources/pixel/endobj4_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj5.in [deleted file]
testing/resources/pixel/endobj5_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj6.in [deleted file]
testing/resources/pixel/endobj6_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj7.in [deleted file]
testing/resources/pixel/endobj7_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj8.in [deleted file]
testing/resources/pixel/endobj8_expected.pdf.0.png [deleted file]
testing/resources/pixel/endobj9.in [deleted file]
testing/resources/pixel/endobj9_expected.pdf.0.png [deleted file]

diff --git a/testing/resources/pixel/endobj1.in b/testing/resources/pixel/endobj1.in
deleted file mode 100644 (file)
index 3e7f5e6..0000000
+++ /dev/null
@@ -1,60 +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
-% Case 1:
-%   /Length identifies intended end of stream, despite embedded keywords.
-%   Both should render as text.
-{{object 6 0}} <<
-  /Length 97
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is text per /Length) Tj
-ET
-endstream
-endobj
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj10.in b/testing/resources/pixel/endobj10.in
deleted file mode 100644 (file)
index d89132a..0000000
+++ /dev/null
@@ -1,59 +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
-% Case 10:
-%   /Length identifies end of stream, and embedded endstream/endobj
-%   keyword to trip us up, but missing endstream keyword.
-{{object 6 0}} <<
-  /Length 97
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endstream is not text) Tj
-0 50 Td
-/F2 13 Tf
-(endobj is not text) Tj
-ET
-endobj
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj10_expected.pdf.0.png b/testing/resources/pixel/endobj10_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj10_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj11.in b/testing/resources/pixel/endobj11.in
deleted file mode 100644 (file)
index 6bccbe5..0000000
+++ /dev/null
@@ -1,65 +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
-% Case 11:
-%   /Length points past intended end of stream, with embedded keywords.
-%   Both should render as text.
-{{object 6 0}} <<
-  /Length 128
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is text per /Length) Tj
-ET
-endstream
-endobj
-
-% blah blah blah.
-% blah blah blah.
-% blah blah blah.
-
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj11_expected.pdf.0.png b/testing/resources/pixel/endobj11_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj11_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj12.in b/testing/resources/pixel/endobj12.in
deleted file mode 100644 (file)
index 1a89b31..0000000
+++ /dev/null
@@ -1,65 +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
-% Case 11:
-%   /Length points well past intended end of stream, with embedded keywords.
-%   Both should render as text.
-{{object 6 0}} <<
-  /Length 210
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is text per /Length) Tj
-ET
-endstream
-endobj
-
-% blah blah blah.
-% blah blah blah.
-% blah blah blah.
-
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj12_expected.pdf.0.png b/testing/resources/pixel/endobj12_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj12_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj13.in b/testing/resources/pixel/endobj13.in
deleted file mode 100644 (file)
index 81623a2..0000000
+++ /dev/null
@@ -1,65 +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
-% Case 11:
-%   /Length points well past EOF, with embedded keywords.
-%   Both should render as text.
-{{object 6 0}} <<
-  /Length 1000
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is text per /Length) Tj
-ET
-endstream
-endobj
-
-% blah blah blah.
-% blah blah blah.
-% blah blah blah.
-
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj13_expected.pdf.0.png b/testing/resources/pixel/endobj13_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj13_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj1_expected.pdf.0.png b/testing/resources/pixel/endobj1_expected.pdf.0.png
deleted file mode 100644 (file)
index a044bb0..0000000
Binary files a/testing/resources/pixel/endobj1_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj2.in b/testing/resources/pixel/endobj2.in
deleted file mode 100644 (file)
index 341fe7e..0000000
+++ /dev/null
@@ -1,59 +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
-% Case 4:
-%   /Length identifies intended end of stream, but whitespace rather than
-%   newline following the stream keyword.
-{{object 6 0}} <<
-  /Length 97
->>
-stream BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is text per /Length) Tj
-ET
-endstream
-endobj
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj2_expected.pdf.0.png b/testing/resources/pixel/endobj2_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj2_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj3.in b/testing/resources/pixel/endobj3.in
deleted file mode 100644 (file)
index 11f5a99..0000000
+++ /dev/null
@@ -1,59 +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
-% Case 3:
-%   /Length identifies intended end of stream, but whitespace rather than
-%   newline following the endstream keyword.
-{{object 6 0}} <<
-  /Length 97
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is text per /Length) Tj
-ET
-endstream endobj
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj3_expected.pdf.0.png b/testing/resources/pixel/endobj3_expected.pdf.0.png
deleted file mode 100644 (file)
index a044bb0..0000000
Binary files a/testing/resources/pixel/endobj3_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj4.in b/testing/resources/pixel/endobj4.in
deleted file mode 100644 (file)
index a49a5c2..0000000
+++ /dev/null
@@ -1,59 +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
-% Case 5:
-%   /Length identifies intended end of stream, but whitespace rather than
-%   newline following the endobj keyword.
-{{object 6 0}} <<
-  /Length 97
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is text per /Length) Tj
-ET
-endstream
-endobj {{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj4_expected.pdf.0.png b/testing/resources/pixel/endobj4_expected.pdf.0.png
deleted file mode 100644 (file)
index a044bb0..0000000
Binary files a/testing/resources/pixel/endobj4_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj5.in b/testing/resources/pixel/endobj5.in
deleted file mode 100644 (file)
index dce8795..0000000
+++ /dev/null
@@ -1,60 +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
-% Case 5:
-%   /Length incorrectly identifies middle of stream, no confusing
-%   keywords to trip us up.
-{{object 6 0}} <<
-  /Length 50
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(xxxxxx is text) Tj
-0 50 Td
-/F2 13 Tf
-(yyyyyyyyy after bad /Length) Tj
-ET
-endstream
-endobj
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj5_expected.pdf.0.png b/testing/resources/pixel/endobj5_expected.pdf.0.png
deleted file mode 100644 (file)
index 87f2a9b..0000000
Binary files a/testing/resources/pixel/endobj5_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj6.in b/testing/resources/pixel/endobj6.in
deleted file mode 100644 (file)
index 53f546f..0000000
+++ /dev/null
@@ -1,60 +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
-% Case 6:
-%   /Length incorrectly identifies middle of stream, and confusing
-%   keywords to trip us up.  Should only render |endobj| as text.
-{{object 6 0}} <<
-  /Length 50
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream after bad /Length) Tj
-ET
-endstream
-endobj
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj6_expected.pdf.0.png b/testing/resources/pixel/endobj6_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj6_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj7.in b/testing/resources/pixel/endobj7.in
deleted file mode 100644 (file)
index 747514f..0000000
+++ /dev/null
@@ -1,60 +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
-% Case 7:
-%   /Length identifies intended end of stream, but endstream/endobj
-%   keywords swapped. Should render |endobj| and |endstream| as text.
-{{object 6 0}} <<
-  /Length 97
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is text per /Length) Tj
-ET
-endobj
-endstream
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj7_expected.pdf.0.png b/testing/resources/pixel/endobj7_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj7_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj8.in b/testing/resources/pixel/endobj8.in
deleted file mode 100644 (file)
index 66892e2..0000000
+++ /dev/null
@@ -1,59 +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
-% Case 8:
-%   No /Length to identify end of stream, but embedded endobj/endstream
-%   keywords to trip us up.  Should only render |endobj| as text.
-{{object 6 0}} <<
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endobj is text) Tj
-0 50 Td
-/F2 13 Tf
-(endstream is not text) Tj
-ET
-endstream
-endobj
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj8_expected.pdf.0.png b/testing/resources/pixel/endobj8_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj8_expected.pdf.0.png and /dev/null differ
diff --git a/testing/resources/pixel/endobj9.in b/testing/resources/pixel/endobj9.in
deleted file mode 100644 (file)
index fb156fa..0000000
+++ /dev/null
@@ -1,59 +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
-% Case 9:
-%   No /Length to identify end of stream, but embedded endstream/endobj
-%   keyword to trip us up.  Should render nothing as text.
-{{object 6 0}} <<
->>
-stream
-BT
-20 50 Td
-/F1 12 Tf
-(endstream is not text) Tj
-0 50 Td
-/F2 13 Tf
-(endobj is not text) Tj
-ET
-endstream
-endobj
-{{xref}}
-trailer <<
-  /Size 6
-  /Root 1 0 R
->>
-{{startxref}}
-%%EOF
diff --git a/testing/resources/pixel/endobj9_expected.pdf.0.png b/testing/resources/pixel/endobj9_expected.pdf.0.png
deleted file mode 100644 (file)
index 3edcc2d..0000000
Binary files a/testing/resources/pixel/endobj9_expected.pdf.0.png and /dev/null differ