Re: Unit Testing DataSourceRealm

2007-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, Kevin Jackson wrote: > with the DataSourceRealm, I cannot > create an InitialContext without either using the tomcat container > itself (a bit of overkill for a unit test), or using suns fscontext, > but that doesn't even seem to be available (

Unit Testing DataSourceRealm

2007-10-23 Thread Kevin Jackson
Hi, We have to add functionality to the provided realms. We started with a JDBCRealm, extended it and added our custom functionality. Now I've changed from a JDBCRealm (as the super class) to a DataSourceRealm as the super class. The problem is - how can I unit test a DataSourceRealm outside of