From: "Jeff Varszegi" <[EMAIL PROTECTED]> > I looked all through the script of my class and I can't find anywhere it can construct a blank > string. I also couldn't find anything wrong in general; I checked over the logic pretty well, but > I guess it's always possible to miss something. Can anyone help me?
TestCollection.getFullNonNullElements() contains the values that are failing. At some point they get added to a reference collection (ArrayList) and your collection (NodeCachingLinkedList) - testList.makeFullList(). This uses addAll() to add and the testRemoveByIndex uses an iterator(). One of those two must be failing. All I can suggest is following the path of the data from the getFullNonNullElements() to the failure. Stephen > Jeff > > P.S. I also attached the NodeCachingLinkedList class, latest version. It throws > NoSuchElementException everywhere that it should. JKV > > --- Stephen Colebourne <[EMAIL PROTECTED]> wrote: > > From: "Jeff Varszegi" <[EMAIL PROTECTED]> > > > Can you tell me more about the unit testing? > > See the JUnit website if you've never used it before. However its easy to > > get to grips with. > > > > Collections uses JUnit with an abstract superclass. The superclass aims to > > test compliance with the List interface spec (for example), leaving the > > individual test class to just test for the differences in that particular > > implementation. You'll need to have a look at some of the classes in the > > test package to figure it out (as I wasn't involved with the test structure > > that was created) I believe that BulkTest is a significant class, but don't > > hold me to it ;-) > > > > Stephen > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host your site > http://webhosting.yahoo.com ---------------------------------------------------------------------------- ---- > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
