Results 1 to 1 of 1

Thread: spring-mock.jar/ErrorsVerifier

Threaded View

  1. #1
    Join Date
    Aug 2005
    Location
    Milton Keynes, UK
    Posts
    39

    Question spring-mock.jar/ErrorsVerifier

    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
    quote:
    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
    testing purposes.

    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.
    Cheers

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •