Spring 3 replacement for isDisabledInThisEnvironment
Posted
by kayahr
on Stack Overflow
See other posts from Stack Overflow
or by kayahr
Published on 2010-03-25T09:59:30Z
Indexed on
2010/03/25
10:03 UTC
Read the original article
Hit count: 328
I'm currently converting a test class which extended the Spring class AbstractTransactionalSpringContextTests to Spring 3. This abstract class is now deprecated and I should use AbstractJUnit38SpringContextTests.
The test class had this method in it:
@Override
protected boolean isDisabledInThisEnvironment(String testMethodName)
{
// Test is only needed for bugfixing and development. Do not check in with this flag on false.
return true;
}
What is the replacement for this isDisabledInThisEnvironment method?
© Stack Overflow or respective owner