Re: [collections] Testing of lists

2004-01-28 Thread Stephen Colebourne
We use AbstractTestList to test our own FixedSizeList. Simply override isAddSupported() to return false in order to block the test. Stephen - Original Message - From: "Joerg Schmuecker" <[EMAIL PROTECTED]> > I just tried to use the AbstractTestList and found that testListAddByIndex adds

[collections] Testing of lists

2004-01-28 Thread Joerg Schmuecker
Hi, I just tried to use the AbstractTestList and found that testListAddByIndex adds one more element than getFullElements().length. Is this behaviour intended? It could be a problem for fixed sized lists. Another problem I saw is that the documentation of List in the JDK 1.4.2 states that a