-
Apr 26th, 2012, 08:56 AM
#1
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
-
May 9th, 2012, 01:41 PM
#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
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