Re: [appfuse-user] applicationContext files in unit tests

2008-01-11 Thread Jearil
Ah, I can't believe I missed that. That did it. Thank you very much. Nice project by the way. And thanks a lot for all the help you give to the community, it's really something. ~Colin mraible wrote: > > Your test should have setNameOfYourBean rather than setC. Try > changing it to setFindi

Re: [appfuse-user] applicationContext files in unit tests

2008-01-11 Thread Matt Raible
Your test should have setNameOfYourBean rather than setC. Try changing it to setFindingAidController instead of setC. Matt On Jan 11, 2008, at 10:07 AM, Jearil wrote: Yes it is. mraible wrote: Is your groupId gov.nysed.archives.Nimbus? On Jan 11, 2008, at 6:38 AM, Jearil wrote: I'v

Re: [appfuse-user] applicationContext files in unit tests

2008-01-11 Thread Jearil
Yes it is. mraible wrote: > > Is your groupId gov.nysed.archives.Nimbus? > > On Jan 11, 2008, at 6:38 AM, Jearil wrote: > >> >> I've tried both. In my IDE I'm using IntelliJ IDEA's maven support >> (utilizing >> an external maven client). I've also tried the build via the >> command line

Re: [appfuse-user] applicationContext files in unit tests

2008-01-11 Thread Matt Raible
Is your groupId gov.nysed.archives.Nimbus? On Jan 11, 2008, at 6:38 AM, Jearil wrote: I've tried both. In my IDE I'm using IntelliJ IDEA's maven support (utilizing an external maven client). I've also tried the build via the command line tool and maven 2.0.7. For a bit more context, her

Re: [appfuse-user] applicationContext files in unit tests

2008-01-11 Thread Jearil
I've tried both. In my IDE I'm using IntelliJ IDEA's maven support (utilizing an external maven client). I've also tried the build via the command line tool and maven 2.0.7. For a bit more context, here's the error: testHandleRequest(gov.nysed.archives.Nimbus.webapp.controller.FindingAidControl

Re: [appfuse-user] applicationContext files in unit tests

2008-01-10 Thread Matt Raible
Are you running your tests from an IDE or from the command line? They should work from the command line. If you're seeing this in your IDE, you may have to change some settings. Matt On Jan 10, 2008, at 11:52 AM, Colin Miller wrote: I'm having some difficulty with my unit tests in appfuse.

[appfuse-user] applicationContext files in unit tests

2008-01-10 Thread Colin Miller
I'm having some difficulty with my unit tests in appfuse. I have a manager test that extends BaseManagerTestCase and uses a Manager bean defined in /src/main/webapp/WEB-INF/applicationContext.xml. When I try to run the unit test, I receive an error: Unsatisfied dependency expressed trhough bean