Results 1 to 2 of 2

Thread: org.springframework.test.AbstractTransactionalSpri ngContextTests

  1. #1
    Join Date
    Apr 2012
    Posts
    1

    Default org.springframework.test.AbstractTransactionalSpri ngContextTests

    Hello,

    I was using the org.springframework.test.AbstractTransactionalSpri ngContextTests class.

    It is deprecated with Spring 3 and replaced with AbstractJUnit38SpringContextTests but what do I have to use instead of the methods setComplete() and endTransaction() ?

    Thanks in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Zürich, Switzerland
    Posts
    423

    Default

    The JUnit 3.8 support is entirely deprecated in Spring 3.1. You should therefore use either JUnit 4 or TestNG instead.

    Regarding the old setComplete() and endTransaction() methods, those methods are no longer available. However, there is a JIRA issue to address this in a future release of Spring.

    Please see the JIRA issue for further details: https://jira.springsource.org/browse/SPR-5079

    Regards,

    Sam

Posting Permissions

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