@ -185,6 +185,7 @@ public class EnableConfigurationPropertiesTests {
}
}
@Test
@Test
@Deprecated
public void testNoExceptionOnValidation ( ) {
public void testNoExceptionOnValidation ( ) {
this . context . register ( NoExceptionIfInvalidTestConfiguration . class ) ;
this . context . register ( NoExceptionIfInvalidTestConfiguration . class ) ;
TestPropertySourceUtils . addInlinedPropertiesToEnvironment ( this . context ,
TestPropertySourceUtils . addInlinedPropertiesToEnvironment ( this . context ,
@ -452,6 +453,7 @@ public class EnableConfigurationPropertiesTests {
@Configuration
@Configuration
@EnableConfigurationProperties ( NoExceptionIfInvalidTestProperties . class )
@EnableConfigurationProperties ( NoExceptionIfInvalidTestProperties . class )
@Deprecated
protected static class NoExceptionIfInvalidTestConfiguration {
protected static class NoExceptionIfInvalidTestConfiguration {
}
}
@ -711,6 +713,7 @@ public class EnableConfigurationPropertiesTests {
@ConfigurationProperties ( exceptionIfInvalid = false )
@ConfigurationProperties ( exceptionIfInvalid = false )
@Validated
@Validated
@Deprecated
protected static class NoExceptionIfInvalidTestProperties extends TestProperties {
protected static class NoExceptionIfInvalidTestProperties extends TestProperties {
@NotNull
@NotNull