commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack, Paul" <>
Subject RE: [PATCH][Collections] New testing framework, junit compatible
Date Wed, 12 Jun 2002 16:51:17 GMT
> I hate ask you to do more work, 

Here to help.  :)

> but can you separate the changes to the Bag implementations from 
> the improvements to the testing framework?

Well, not really.  The problem is that the old Bag implementations
will fail many of the new tests in TestCollection, because those
tests now strictly enforce the Collection contract.  To make the
old Bag implementations work with the new test framework, we'd
have to override a lot of TestCollection methods in TestBag.

In the meantime, you can do this:

A.  Apply the patch;
B.  Blow away;
C.  cvs update;
D.  Make TestBag extend TestObject instead of TestCollection.

That way my new tests won't occur on Bag implementations.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message