[latex3-commits] [git/LaTeX3-latex3-pdfresources] main: update test, new regression (d2b2a2e)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Feb 12 23:10:25 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : main
Link       : https://github.com/latex3/pdfresources/commit/d2b2a2e983f2e90a1bac0c7fa86e0a45b2d5b6bc

>---------------------------------------------------------------

commit d2b2a2e983f2e90a1bac0c7fa86e0a45b2d5b6bc
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Feb 12 23:10:25 2021 +0100

    update test, new regression


>---------------------------------------------------------------

d2b2a2e983f2e90a1bac0c7fa86e0a45b2d5b6bc
 testfiles/version-compare.lvt          |  8 ++++----
 testfiles/version-compare.xetex.tlg    |  4 ++++
 testfiles/viewerpreferences.luatex.tpf |  6 +++---
 testfiles/viewerpreferences.pvt        |  3 +--
 testfiles/viewerpreferences.tpf        |  6 +++---
 testfiles/viewerpreferences.xetex.tpf  | 20 ++++++++++----------
 6 files changed, 25 insertions(+), 22 deletions(-)

diff --git a/testfiles/version-compare.lvt b/testfiles/version-compare.lvt
index 9b437a8..8c0a325 100644
--- a/testfiles/version-compare.lvt
+++ b/testfiles/version-compare.lvt
@@ -1,8 +1,8 @@
-\input{regression-test}
-\RequirePackage{pdfmanagement}
-\DeclareDocumentMetadata { }
+\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\RequirePackage[debug]{pdfmanagement}
+\DeclareDocumentMetadata {  }
+\RequirePackage{pdfmanagement-regressiontest}
 \documentclass{article}
-
 \begin{document}\START\showoutput
 \ExplSyntaxOn
 
diff --git a/testfiles/version-compare.xetex.tlg b/testfiles/version-compare.xetex.tlg
index 44fc2b9..c13b18a 100644
--- a/testfiles/version-compare.xetex.tlg
+++ b/testfiles/version-compare.xetex.tlg
@@ -131,5 +131,9 @@ Completed box being shipped out [1]
 .\kern -633.0
 .\hbox(0.0+0.0)x0.0
 ..\special{pdf:put @pages <<>>}
+..\special{pdf:docinfo<</Creator (TeX)>>}
+..\special{pdf:docinfo<</Producer (xetex)>>}
+..\special{pdf:docinfo<</CreationDate (D:20010101194934+01'00')>>}
+..\special{pdf:docinfo<</ModDate (D:20010101205959-00'00')>>}
 .\kern 633.0
 (version-compare.aux)
diff --git a/testfiles/viewerpreferences.luatex.tpf b/testfiles/viewerpreferences.luatex.tpf
index 5412b1d..4a5dcd9 100644
--- a/testfiles/viewerpreferences.luatex.tpf
+++ b/testfiles/viewerpreferences.luatex.tpf
@@ -103,7 +103,7 @@ endobj
 << /Type /Catalog /Pages 11 0 R /Names 20 0 R /ViewerPreferences 12 0 R/Lang (de-DE)/PageMode /UseOutlines/OpenAction [5 0 R /Fit]/PageLayout /SinglePage/PageLabels <</Nums[0<</S/D>>]>> >>
 endobj
 22 0 obj
-<< /Producer (LuaTeX)/Creator <FEFF004C006100540065005800200077006900740068002000680079007000650072007200650066> /Trapped /False >>
+<< /Creator <FEFF004C006100540065005800200077006900740068002000680079007000650072007200650066>/Producer (LuaTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00') /Trapped /False >>
 endobj
 xref
 0 23
@@ -131,7 +131,7 @@ xref
 0000003435 00000 n 
 0000003640 00000 n 
 trailer
-<< /Size 23 /Root 21 0 R /Info 22 0 R >>
+<< /Size 23 /Root 21 0 R /Info 22 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
 startxref
-3788
+3861
 %%EOF
diff --git a/testfiles/viewerpreferences.pvt b/testfiles/viewerpreferences.pvt
index 130b4ec..93d826a 100644
--- a/testfiles/viewerpreferences.pvt
+++ b/testfiles/viewerpreferences.pvt
@@ -4,9 +4,8 @@
  {
    pdfversion=1.7,
    lang=de-DE,
-   uncompress
  }
-\input{regression-test}
+\RequirePackage{pdfmanagement-regressiontest}
 \documentclass{article}
 \usepackage[]{hyperref}
 \hypersetup{pdfpagelayout=SinglePage,pdftoolbar=false,
diff --git a/testfiles/viewerpreferences.tpf b/testfiles/viewerpreferences.tpf
index ce90e73..032eb6d 100644
--- a/testfiles/viewerpreferences.tpf
+++ b/testfiles/viewerpreferences.tpf
@@ -112,7 +112,7 @@ endobj
 endobj
 19 0 obj
 <<
-/Producer (pdfTeX)/Creator <FEFF004C006100540065005800200077006900740068002000680079007000650072007200650066>
+/Creator <FEFF004C006100540065005800200077006900740068002000680079007000650072007200650066>/Producer (pdfTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00')
 /Trapped /False
 >>
 endobj
@@ -142,7 +142,7 @@ trailer
 << /Size 20
 /Root 18 0 R
 /Info 19 0 R
- >>
+/ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-11138
+11211
 %%EOF
diff --git a/testfiles/viewerpreferences.xetex.tpf b/testfiles/viewerpreferences.xetex.tpf
index d0995e4..c0b792f 100644
--- a/testfiles/viewerpreferences.xetex.tpf
+++ b/testfiles/viewerpreferences.xetex.tpf
@@ -34,7 +34,7 @@ endobj
 <</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 595.28 841.89]>>
 endobj
 2 0 obj
-<</Creator<feff004c006100540065005800200077006900740068002000680079007000650072007200650066>/Producer(xdvipdfmx)/CreationDate(D:20160520090000-00'00')>>
+<</Creator<feff004c006100540065005800200077006900740068002000680079007000650072007200650066>/Producer(xetex)/CreationDate(D:20010101194934+01'00')/ModDate(D:20010101205959-00'00')>>
 endobj
 1 0 obj
 <</ViewerPreferences 7 0 R/Lang(de-DE)/PageMode/UseOutlines/OpenAction[3 0 R/Fit]/PageLayout/SinglePage/PageLabels<</Nums[0<</S/D>>]>>/Names
@@ -95,12 +95,12 @@ endobj
 xref
 0 20
 0000000000 65535 f 
-0000000924 00000 n 
+0000000953 00000 n 
 0000000756 00000 n 
 0000000600 00000 n 
 0000000290 00000 n 
-0000003126 00000 n 
-0000002676 00000 n 
+0000003155 00000 n 
+0000002705 00000 n 
 0000000333 00000 n 
 0000000015 00000 n 
 0000000196 00000 n 
@@ -109,14 +109,14 @@ xref
 0000000412 00000 n 
 0000000566 00000 n 
 0000000676 00000 n 
-0000001115 00000 n 
-0000002865 00000 n 
-0000001563 00000 n 
-0000002569 00000 n 
-0000002616 00000 n 
+0000001144 00000 n 
+0000002894 00000 n 
+0000001592 00000 n 
+0000002598 00000 n 
+0000002645 00000 n 
 trailer
 <</ID[<ID-STRING><ID-STRING>]/Root
 1 0 R/Info 2 0 R/Size 20>>
 startxref
-3275
+3304
 %%EOF





More information about the latex3-commits mailing list.