diff --git a/src/test/java/com/demcha/compose/document/dsl/InlineHighlightRenderTest.java b/src/test/java/com/demcha/compose/document/dsl/InlineHighlightRenderTest.java index 400dd3451..a504b94c2 100644 --- a/src/test/java/com/demcha/compose/document/dsl/InlineHighlightRenderTest.java +++ b/src/test/java/com/demcha/compose/document/dsl/InlineHighlightRenderTest.java @@ -133,7 +133,7 @@ void chipMidLineKeepsTheTextOnBothSides() throws Exception { @Test void multiWordChipStaysOneSpanAndCollapsesNewlines() throws Exception { - // PR-1 invariant: a chip is one atomic token — a multi-word chip is a + // Invariant: a chip is one atomic token — a multi-word chip is a // single span (not split per word), and an embedded newline collapses to // a space (unlike a plain text run, which would split into lines). List badge = textSpans(p -> p.inlineChip(" On hold ", DocumentColor.rgb(146, 64, 14), FILL)); @@ -151,7 +151,7 @@ void multiWordChipStaysOneSpanAndCollapsesNewlines() throws Exception { @Test void overWideAtomicChipRendersWithoutThrowing() throws Exception { - // A chip wider than the column is emitted on its own line (PR-1 atomic); + // A chip wider than the column is emitted on its own line (atomic); // it must still render the text on one page without throwing. byte[] pdf; try (DocumentSession session = GraphCompose.document().pageSize(90, 140).margin(10, 10, 10, 10).create()) { diff --git a/src/test/java/com/demcha/compose/document/templates/coverletter/presets/PresetVisualParityTest.java b/src/test/java/com/demcha/compose/document/templates/coverletter/presets/PresetVisualParityTest.java index 777a8c095..37ec19342 100644 --- a/src/test/java/com/demcha/compose/document/templates/coverletter/presets/PresetVisualParityTest.java +++ b/src/test/java/com/demcha/compose/document/templates/coverletter/presets/PresetVisualParityTest.java @@ -24,9 +24,9 @@ *

Each preset renders a fixed canonical {@link CoverLetterSpec} on * full A4 with the gallery-standard 48pt margin, the resulting PDF is * rasterized via PDFBox, and the per-pixel diff against a checked-in - * baseline PNG is asserted to stay within the budget specified in - * {@code docs/private/templates-restructure-plan.md} sec 6.2 (2500 - * mismatched pixels at per-channel tolerance 8). Re-run with + * baseline PNG is asserted to stay within the {@code PIXEL_DIFF_BUDGET} + * mismatched-pixel budget at {@code PER_PIXEL_TOLERANCE} per-channel + * colour tolerance. Re-run with * {@code -Dgraphcompose.visual.approve=true} to refresh the baselines * after a deliberate visual change.

* diff --git a/src/test/java/com/demcha/compose/document/templates/cv/presets/PresetVisualParityTest.java b/src/test/java/com/demcha/compose/document/templates/cv/presets/PresetVisualParityTest.java index 30d5bbde1..dac1c3e74 100644 --- a/src/test/java/com/demcha/compose/document/templates/cv/presets/PresetVisualParityTest.java +++ b/src/test/java/com/demcha/compose/document/templates/cv/presets/PresetVisualParityTest.java @@ -29,9 +29,9 @@ *

Each preset renders a fixed canonical {@link CvSpec} on full A4 * with the preset's {@code RECOMMENDED_MARGIN}, the resulting PDF is * rasterized via PDFBox, and the per-pixel diff against a checked-in - * baseline PNG is asserted to stay within the budget specified in - * {@code docs/private/templates-restructure-plan.md} sec 6.2 (2500 - * mismatched pixels at per-channel tolerance 8). Re-run with + * baseline PNG is asserted to stay within the {@code PIXEL_DIFF_BUDGET} + * mismatched-pixel budget at {@code PER_PIXEL_TOLERANCE} per-channel + * colour tolerance. Re-run with * {@code -Dgraphcompose.visual.approve=true} to refresh the baselines * after a deliberate visual change.

* diff --git a/src/test/java/com/demcha/documentation/VersionConsistencyGuardTest.java b/src/test/java/com/demcha/documentation/VersionConsistencyGuardTest.java index e5ceeebc9..0d2648020 100644 --- a/src/test/java/com/demcha/documentation/VersionConsistencyGuardTest.java +++ b/src/test/java/com/demcha/documentation/VersionConsistencyGuardTest.java @@ -75,7 +75,7 @@ void bundledFontsVersionAgreesAcrossModules() throws Exception { // the sibling module's source), so the ${graphcompose.fonts.version} // property that pins the artifact lives only in the modules that consume // it: the aggregator (inherited by examples + benchmarks) and the bundle. - // This guards the PR-7.1 drift class: those must always agree, even + // This guards the version-literal drift class: those must always agree, even // though they differ from the engine version line. String aggregator = fontsVersionProperty(PROJECT_ROOT.resolve("aggregator/pom.xml"));