Jul 16th, 2008, 05:14 PM
I'm not quite sure whether this was best forum to post this in but since I've seen it in Expert Spring MVC book, thought I'd ask here:
P281 of said book mentions spring-mock.jar.
Is this now packaged differently?
If not where can I download it?
Where is ErrorsVerifier
It's supposed to be used to test validators.
Right found half the answer in Spring 2.5.1 reference PDF
Spring 2.5's 'spring-test.jar' supersedes the previous 'spring-mock.jar', indicating the stronger focus on
the test context framework. Note that 'spring-test.jar' contains everything 'spring-mock.jar' contained
in previous Spring versions; hence it can be used as a straightforward replacement for unit and integration
I don't think this quote can be taken too literally though, because ErrorsVerifier is no longer a class.
I wish API docs still had deprecated reference, and pointer to it's replacement...
If anyone can enlighten me on that front I'd appreciate it.
Finally found what's going on here:
http: // forum.springframework.org/showthread.php?t=23960
I echo P$! sentiments. When is this going to make it into Spring release?
See P 2 of thread above for best solution or can Rick Evans follow up with Apress author in question again?
Last edited by JGF; Jul 17th, 2008 at 05:20 AM.