test: consolidate protocol round-trips, drop useless tests, cover item ownership #53
No reviewers
Labels
No labels
alpha:wave-0
alpha:wave-1
alpha:wave-2
alpha:wave-3
area:assets
area:combat
area:ecology
area:infra
area:render
area:scripting
area:ui
area:world
enhancement
epic
migration
post-alpha
roadmap
tech-debt
type:bug
type:chore
type:design
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
marco/IsoMmo!53
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/test-cleanup"
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?
P3 test-quality cleanup from the code review (independent of the other PRs).
[Fact]s into two[Theory]+[MemberData]blocks (ServerMessage/ClientMessage— records round-trip by value equality).Welcome/InventoryStatestay bespoke (list members = reference equality). Deletes 4 files.Skills_RoundTripThroughTheStore(a weaker dup of the binary-persistence round-trip that does not even flush/reload),AnimationsFor_covers_all_eight_directions(strictly subsumed by the Theory above it),MouseDeadzone_is_24_pixels(a tautological change-detector on a constant).OwnedItemOps_RejectANonOwner— a non-owner cannot equip/drop/unequip another player's item, and her inventory is untouched.Green: whole suite (Shared 51, GameServer 113, Client.Core 46), 0 warnings, csharpier clean. Net fewer test methods, no coverage lost, plus a new authority test.