Files
NowChessSystems/modules/backcore
LQ63 52197125f7
Build & Test (NowChessSystems) TeamCity build failed
test(backcore): achieve 100% line coverage
- Remove dead GameResult variants (Checkmate, Stalemate, InsufficientMaterial) that were never produced
- Fix ImportResource.importPgn to return 400 for null body instead of silently succeeding with empty PGN
- Add JaCoCo exclusions for companion objects and private ServiceState (only compiler-level synthetics)
- Add integration tests: all move types in toLegalMoveDto (capture/castle/en-passant/promotion), undo/redo/resign/exportPgn 404 paths, null-body endpoints
- Add unit tests: all parsePromotionChar branches (r/b/n/wildcard), drawAction claim success, engine setter, findMatchingMove orElse path, check status in GameMapper
- Add DtoCoverageTest and GameDomainCoverageTest covering synthetic methods (equals, hashCode, copy, productElement, productElementName, canEqual) and singleton serialization (writeReplace)

Result: LINE 300/300 (100%)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 09:41:25 +02:00
..