putnam_david_t
2006-09-28 02:09:16 UTC
I see that Junit 4.1 has a new method for comparing arrays. However
in my case the arrays are created via reflection. So the arrays are
declared as Object and the Object version of assertEquals does not
examine the array elements. I suggested on the Junit issue tracker
that the Object version of assertEquals be ammended to check if the
two Objects are both arrays then act like the array version.
I am posting this here to see what other discussion this might generate.
Looking forward to hearing from you.
Thanks,
David
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/junit/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:junit-***@yahoogroups.com
mailto:junit-***@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
junit-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
in my case the arrays are created via reflection. So the arrays are
declared as Object and the Object version of assertEquals does not
examine the array elements. I suggested on the Junit issue tracker
that the Object version of assertEquals be ammended to check if the
two Objects are both arrays then act like the array version.
I am posting this here to see what other discussion this might generate.
Looking forward to hearing from you.
Thanks,
David
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/junit/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:junit-***@yahoogroups.com
mailto:junit-***@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
junit-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/