mcla0203 / CoreNewton

Core support for server, protocol, and client for Newton.
2 stars 0 forks source link

Unit/Integration tests for all methods. #8

Open mcla0203 opened 15 years ago

mcla0203 commented 15 years ago

Here's a list of methods that need to be tested as of 08/26

AuthenticationServer() AuthentiactionServer.main(String[] args) AuthenticationServerThread(Socket socket) AuthenticationServer.run() AuthentiactionServer.onSAVE() AuthentiactionServer.onLOGIN() AuthentiactionServer.invalidMsg()

AuthentiactionServerHelper.overWriteChar() - case !userFound or !authenticated AuthentiactionServerHelper.overWriteChar() - case FileNotFoundException assertion

DONE --- ServerMonstersHelper.getMonsterById(id, list) DONE --- ServerMonstersHelper.getMonsterIds()

DONE --- ServerPlayersHelper.getPlayerByName(name, list)

Protocol.convertListToProtocol Protocol.createLoginWithCharName Protocol.createSaveRequest Protocol.attackResponse Protocol.healRequest Protocol.healResponse Protocol.createSuccessResponse