Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

i/o with serilizable and junit test  RSS feed

 
Scott Pike
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to input from a file that got stuff that was serilized. I outputed an array of objects called playerbean that have three attributes like uname,pword and level. it seems to write out, but I"m not sure about reading it in. I tested with a Junit test, but I'm not sure if it is really passing or if the exception is just being caught by the try/catch statement.
Here is my code

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!