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 > 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 List can refuse an element. The documentation of some lists in the > collections framework states the opposite. > > Kind regards, > > Joerg Schmuecker --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
