Announcement Announcement Module
Collapse
No announcement yet.
org.springframework.test.AbstractTransactionalSpri ngContextTests Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X