mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-05-06 14:24:15 +02: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