-
Nov 1st, 2009, 11:36 PM
#1
Testing JobDetailBean
I can't find any convenient way of testing JobDetailBean.
I could create a SimpleTriggerBean in a test context, but injecting a Mock service in a jobDataMap is hassle for me.
Ideally, I'd like to be able to use the JobDetailBean as defined in my Spring configuration and simply call the executeInternal() method on its associated jobClass, thus avoiding any trigger, scheduler, abstracting my test from the Scheduler context.
Is there any way to do that with Spring 2.5? What about 3.0?
Thanks for pointing me to any available documentation on that or sharing experience.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules