diff --git a/crates/core/tests/pdf/LEDGER.tsv b/crates/core/tests/pdf/LEDGER.tsv index 228103dc..6eb2b04b 100644 --- a/crates/core/tests/pdf/LEDGER.tsv +++ b/crates/core/tests/pdf/LEDGER.tsv @@ -12,8 +12,8 @@ apps/app/tests/unit/n-1.reader.test.ts archives exported from core-built reports apps/app/tests/unit/n-1.reader.test.ts archives exported from core-built reports > the attachment of report-v2.full.json reads back through the N-1 reader kept vitest (same case) - reader switched to the frozen O11 scanner at R4.8 apps/app/tests/unit/pdf.browserRasterizer.test.ts browserRasterizer > returns PNG bytes for a valid SVG, sized by the engine kept vitest (same case) - - apps/app/tests/unit/pdf.browserRasterizer.test.ts browserRasterizer > falls back to toDataURL when toBlob returns null kept vitest (same case) - - -apps/app/tests/unit/pdf.export.app.test.ts the archive survives its resources > T2 catalog changed: the envelope re-exports the archived sheet, not the revised one ported R4.5 cargo from_envelope (pending) - - -apps/app/tests/unit/pdf.export.app.test.ts the archive survives its resources > scenario 3 branding changed: the envelope re-exports the archived branding and never fetches ported R4.5 cargo from_envelope (pending) - - +apps/app/tests/unit/pdf.export.app.test.ts the archive survives its resources > T2 catalog changed: the envelope re-exports the archived sheet, not the revised one ported cargo pdf_serialize::restoration_round_trip_loses_nothing - export_from_envelope +apps/app/tests/unit/pdf.export.app.test.ts the archive survives its resources > scenario 3 branding changed: the envelope re-exports the archived branding and never fetches ported cargo pdf_serialize::restoration_round_trip_loses_nothing - export_from_envelope apps/app/tests/unit/pdf.goldens.test.ts golden inputs > the 2×1 PNG decodes as 2×1 and the 1×1 as 1×1 replaced R4.4/R4.5 cargo goldens (pending) O6 pdf-lib embedPng check of the golden rasters apps/app/tests/unit/pdf.goldens.test.ts golden inputs > the demo report covers the sheet features the goldens must freeze kept vitest (same case) - inputs of the kept views cases apps/app/tests/unit/pdf.goldens.test.ts golden inputs > the v2unresolved report really carries unresolved findings kept vitest (same case) - inputs of the kept views cases @@ -152,17 +152,17 @@ packages/core-wasm/tests/n-1.scanner.test.ts the frozen scanner reads the archiv packages/core-wasm/tests/n-1.scanner.test.ts a stamped archive whose attachment was removed > stamp written as UTF-16BE hex (the export): attachment_stripped kept vitest (same case) O11 - packages/core-wasm/tests/n-1.scanner.test.ts a stamped archive whose attachment was removed > stamp written as literal: attachment_stripped kept vitest (same case) O11 - packages/core-wasm/tests/n-1.scanner.test.ts a stamped archive whose attachment was removed > the same file without the stamp: no_attachment kept vitest (same case) O11 - -packages/pdf/tests/goldens.test.ts golden inputs > the 2×1 PNG decodes as 2×1 and the 1×1 as 1×1 ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts golden inputs > the v2unresolved report carries the unresolved findings of the freeze ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of v2full > nologos > text, images and links per locale; same pagination across locales ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of v2full > logos > text, images and links per locale; same pagination across locales ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of v2full > highlighted views: same facts but titles and data attributes ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of demo > nologos > text, images and links per locale; same pagination across locales ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of demo > logos > text, images and links per locale; same pagination across locales ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of demo > highlighted views: same facts but titles and data attributes ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of v2unresolved > nologos > text, images and links per locale; same pagination across locales ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of v2unresolved > logos > text, images and links per locale; same pagination across locales ported R4.4/R4.5 cargo (pending) O1/O2 - -packages/pdf/tests/goldens.test.ts goldens of v2unresolved > highlighted views: same facts but titles and data attributes ported R4.4/R4.5 cargo (pending) O1/O2 - +packages/pdf/tests/goldens.test.ts golden inputs > the 2×1 PNG decodes as 2×1 and the 1×1 as 1×1 ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts golden inputs > the v2unresolved report carries the unresolved findings of the freeze ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of v2full > nologos > text, images and links per locale; same pagination across locales ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of v2full > logos > text, images and links per locale; same pagination across locales ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of v2full > highlighted views: same facts but titles and data attributes ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of demo > nologos > text, images and links per locale; same pagination across locales ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of demo > logos > text, images and links per locale; same pagination across locales ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of demo > highlighted views: same facts but titles and data attributes ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of v2unresolved > nologos > text, images and links per locale; same pagination across locales ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of v2unresolved > logos > text, images and links per locale; same pagination across locales ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - +packages/pdf/tests/goldens.test.ts goldens of v2unresolved > highlighted views: same facts but titles and data attributes ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O1/O2 - packages/pdf/tests/inflate.test.ts inflateFlate > round-trips a payload spanning several slices ported cargo pdf_inflate::every_o9_row_matches_node, pdf_inflate::every_o7_flate_input_matches_node O7/O9 - packages/pdf/tests/inflate.test.ts inflateFlate > feeds the inflater in 16 KiB slices, each awaited ported cargo pdf_inflate::every_o9_row_matches_node, pdf_inflate::every_o7_flate_input_matches_node O7/O9 - packages/pdf/tests/inflate.test.ts inflateFlate > an output exactly at the limit passes, one byte more is null ported cargo pdf_inflate::every_o9_row_matches_node, pdf_inflate::every_o7_flate_input_matches_node O7/O9 - @@ -181,8 +181,8 @@ packages/pdf/tests/r4.png-oracles.test.ts R4 PNG oracles (TypeScript freeze) > m packages/pdf/tests/r4.reader-oracles.test.ts R4 reader oracles O7 (TypeScript freeze) > matches the frozen inputs and reader outcomes deleted - O7 generator; oracle files kept (R4.8) packages/pdf/tests/r4.text-oracles.test.ts R4 text oracles (TypeScript freeze) > matches the frozen AFM metrics and WinAnsi table deleted - O4 generator; oracle files kept (R4.8) packages/pdf/tests/r4.text-oracles.test.ts R4 text oracles (TypeScript freeze) > matches the frozen text and number rules deleted - O4 generator; oracle files kept (R4.8) -packages/pdf/tests/raster.test.ts resvg rasterisation of the demo views > main (haloed) and head views: 1200 px wide, highlight present, sane coverage ported R4.4/R4.5 cargo (pending) O2/O4 - -packages/pdf/tests/raster.test.ts resvg rasterisation of the demo views > a rasterizer that throws: page without image, one view_raster_failed warning ported R4.4/R4.5 cargo (pending) O2/O4 - +packages/pdf/tests/raster.test.ts resvg rasterisation of the demo views > main (haloed) and head views: 1200 px wide, highlight present, sane coverage ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O2/O4 - +packages/pdf/tests/raster.test.ts resvg rasterisation of the demo views > a rasterizer that throws: page without image, one view_raster_failed warning ported cargo pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build O2/O4 - packages/pdf/tests/read.test.ts T4 roundtrip > reads back the exported envelope whole ported cargo pdf_import::o7_locate_and_read_match_the_typescript O7 - packages/pdf/tests/read.test.ts T5 v2 archives and the bare v3 fixture > report-v2.full.pdf: migrated, re-exported, imported again equal ported cargo pdf_import::o7_locate_and_read_match_the_typescript O7 - packages/pdf/tests/read.test.ts T5 v2 archives and the bare v3 fixture > report-v2.minimal.pdf: migrated, re-exported, imported again equal ported cargo pdf_import::o7_locate_and_read_match_the_typescript O7 - @@ -196,7 +196,7 @@ packages/pdf/tests/read.test.ts attachment presence and selection > a stamped PD packages/pdf/tests/read.test.ts attachment presence and selection > a foreign PDF: no_attachment ported cargo pdf_import::o7_locate_and_read_match_the_typescript O7 - packages/pdf/tests/read.test.ts attachment presence and selection > the Filespec named osteo-report.json wins over an earlier EmbeddedFile ported cargo pdf_import::o7_locate_and_read_match_the_typescript O7 - packages/pdf/tests/read.test.ts attachment presence and selection > refuses an oversized file or one without a %PDF- header as invalid_pdf ported cargo pdf_import::o7_locate_and_read_match_the_typescript O7 - -packages/pdf/tests/reexport.test.ts re-export from the envelope alone > reproduces text, images, views and the envelope minus exportedAt ported R4.4/R4.5 cargo (pending) O2 - +packages/pdf/tests/reexport.test.ts re-export from the envelope alone > reproduces text, images, views and the envelope minus exportedAt ported cargo pdf_serialize::restoration_round_trip_loses_nothing O2 - packages/pdf/tests/scan.test.ts findEmbeddedFiles on a fresh export (no object streams) > finds the one Flate stream, named through its visible Filespec ported cargo pdf_scan::every_pdf_input_scans_as_the_typescript_did O7 - packages/pdf/tests/scan.test.ts findEmbeddedFiles on a fresh export (no object streams) > the length is the declared /Length and the data ends on endstream ported cargo pdf_scan::every_pdf_input_scans_as_the_typescript_did O7 - packages/pdf/tests/scan.test.ts findEmbeddedFiles on a fresh export (no object streams) > the export keeps the Filespec, its name and the stamp in clear, no object stream ported cargo pdf_scan::every_pdf_input_scans_as_the_typescript_did O7 - @@ -249,50 +249,50 @@ packages/pdf/tests/security.test.ts export: a snapshot over the caps fails with packages/pdf/tests/security.test.ts export: a snapshot over the caps fails with a typed error and no file > a dangling svg_asset_id → snapshot_invalid ported cargo pdf_layout::the_checks_refuse_what_export_ts_refused - typed export errors, no oracle file packages/pdf/tests/security.test.ts export: a snapshot over the caps fails with a typed error and no file > another sheet → sheet_mismatch ported cargo pdf_layout::the_checks_refuse_what_export_ts_refused - typed export errors, no oracle file packages/pdf/tests/security.test.ts export: a snapshot over the caps fails with a typed error and no file > too many observations or views per observation → too_many_pages ported cargo pdf_layout::the_checks_refuse_what_export_ts_refused - typed export errors, no oracle file -packages/pdf/tests/security.test.ts hostile SVG assets >