Re: [appfuse-user] Testing security during unit tests.

2007-03-27 Thread Matt Raible
This is the expected way to add new config files. If you have a more elegant solution, don't be afraid to suggest it. Matt On 3/27/07, donleyp <[EMAIL PROTECTED]> wrote: Ok, I answered my own question. After writing that post I dug a little further and finally found an overridable method in B

Re: [appfuse-user] Testing security during unit tests.

2007-03-27 Thread donleyp
Ok, I answered my own question. After writing that post I dug a little further and finally found an overridable method in BaseDaoTestCase that solved my problem: protected String[] getConfigLocations() { return (String[]) ArrayUtils.add(super.getConfigLocations(), "classpa

[appfuse-user] Testing security during unit tests.

2007-03-27 Thread donleyp
I am having trouble using Acegi inside my unit tests. The following is a unit test for my "AccountDao" class. public class AccountDaoTest extends BaseDaoTestCase { private AuthenticationManager authenticationManager; private AccountDao accountDao; private UserDao