[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassInfo being serializable
adrian@jboss.org
do-not-reply at jboss.com
Fri Jul 13 06:57:28 EDT 2007
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#4063929
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063929
More information about the jboss-dev-forums
mailing list