Add HTMLDraftmanTest — direct visitor tests #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Priority: P1 — Medium
Context: Same rationale as #9 — direct visitor tests isolate failures better than the full HTMLExporter pipeline tests. Additionally, a bug was previously found and fixed in
HTMLDraftman.visitTriangle()wherethis.hashCode()was used instead ofsTriangle.hashCode()(commitedd5167). A direct visitor test would have caught this immediately. A regression test should be included.Scope:
src/main/java/ovh/gasser/newshapes/ui/visitors/HTMLDraftman.javaGoal: Test each
visit*()method in isolation.Edge cases to cover:
visitTriangle()hashCode fixEstimate: 2 hours
Dependencies: None