abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: testing the adapters
Date Thu, 21 Feb 2008 21:58:43 GMT
For now, can the commonalities be bundled up into a single common, 
abstract, base JdbcAdapter class?  If so, it could be included alongside 
things like the BasicAdapter, etc in the Server module.

- James

David Calavera wrote:
> Hi, I'm working on some test for IbatisCollectionAdapter and
> HibernateCollectionAdapter and I'd like to do a big refactor.
> Currently as much these tests as CouchDBCollectionAdapterTest have almost
> the same test methods with the same code lines. I think it could be quite
> easy to extract these methods to an other inherited class and just maintain
> the specific adapter configuration into the test class. My main doubt is
> where can I put a class that all adapters can inherit? Can anyone help me?
> Regards

View raw message