mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-21 23:22:34 +01:00
Cover the two most complex untested handlers in handlers_session.go: - logoutPlayer (8 tests): basic logout, character save path, cafe course RP accrual, stage cleanup, host disconnect with MsgSysStageDestruct, error resilience for ReadInt/LoadSaveData failures, concurrent logout - saveAllCharacterData (4 tests): nil save data, load error propagation, RP capping logic, playtime accumulation - handleMsgMhfTransitMessage (6 tests): search by charID (found/not found), search by name, search by lobby (IP+port+stageID), party finder with stage prefix and rank filtering, localhost IP rewrite