anonymous wrote :
| You should really be asserting that you get the same object back.
| Also these tests are inadequete. You are only testing the ClassInfo parts
| of the serialized objects.
| Each test must serialize and deserialize its own object and test ALL its fields.
| e.g. does the array have the correct component type, etc. Has it been
| readResolved properly?
|
Well actually if you test they are the same object then it is really redundant
to test all fields. The same object can't have different values to the original. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063929#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...