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

Reply via email to