From: Erik M. <em...@ge...> - 2001-10-21 18:52:51
|
Jim, Thanks for the submission. We have another developer working on this also. He has a bit more information on where the Array stuff should go. His name is Vladimir Bossicard his email is vla...@bo.... I've cc'ed junit-devel and attached your attachments so they will show up there. -- Erik Meade em...@ob... Senior Consultant Object Mentor, Inc. http://www.junit.org > -----Original Message----- > From: ji...@ma... [mailto:ji...@ma...] > Sent: Wednesday, October 17, 2001 10:40 PM > To: ju...@ob... > Cc: jrc...@up... > Subject: JUnit enhancements > > > I'm not sure if this e-mail address actual goes to the > authors/maintainers of JUnit, but if not, would you kindly forward it to > them? > > Thank you, > Jim Cushing > > ---------------------- > > I have made some enhancements for JUnit. I have added to > junit.framework.Assert methods for asserting that arrays of (ints, > bytes, booleans, shorts, longs, doubles, floats, chars, Objects) are > equal. > > These methods are named assertArrayEquals() rather than assertEquals(), > as the latter name would result in ambiguities with the method > assertEquals(Object, Object) in calls to assertEquals(null, null) (see > line 72 of junit.tests.AssertTest for an example). > > I have also attached a test class for my changes, > junit.tests.AssertArraysTest. > > Today was actually the first day I used JUnit. I've heard about it > quite a bit before, but frankly, I've been too lazy to use it until now > (yeah, yeah, I know, I know...). I'm certain that it will help improve > the quality of the code that I and my team write. > > Please feel free to accept the changes that I have made, and distribute > them with future versions of JUnit. They should add to an already > useful tool. > > Thank you, > Jim Cushing > > > > |