Commit b740a7d
authored
docs(test): state test invariants directly instead of citing internal plan refs (#233)
Why: several merged test files referenced internal planning identifiers
and a gitignored planning-doc path in their comments and Javadoc. A
public reader of the repo cannot resolve those references, so they read
as noise rather than documentation.
What: reword the affected comments/Javadoc to describe the invariant or
behaviour each test guards, directly:
- InlineHighlightRenderTest: the chip-is-one-atomic-token invariant and
the over-wide-chip-emitted-on-its-own-line behaviour.
- cv + coverletter PresetVisualParityTest: the pixel-diff parity gate now
points at its in-source PIXEL_DIFF_BUDGET / PER_PIXEL_TOLERANCE
constants, also dropping a stale figure that contradicted them.
- VersionConsistencyGuardTest: the version-literal drift class it guards.
CanonicalSurfaceGuardTest is intentionally left unchanged — excluding the
gitignored planning directory is the behaviour under test there.
Tests: ./mvnw test -Dtest=InlineHighlightRenderTest,PresetVisualParityTest,VersionConsistencyGuardTest -pl . (49 passed); ./mvnw -q compile -pl . clean.1 parent 34d89b4 commit b740a7d
4 files changed
Lines changed: 9 additions & 9 deletions
File tree
- src/test/java/com/demcha
- compose/document
- dsl
- templates
- coverletter/presets
- cv/presets
- documentation
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments