From ce761d3fe8689cb7c8c592fcefdac8387daa3c3d Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Thu, 10 Feb 2011 02:01:02 +0000 Subject: [PATCH] renamed AbstractPropertyPlaceholderConfigurer to PlaceholderConfigurerSupport --- .../config/ContextNamespaceHandlerTests.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/org.springframework.context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java b/org.springframework.context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java index 21c15807cf..9d05871449 100644 --- a/org.springframework.context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java +++ b/org.springframework.context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java @@ -24,7 +24,7 @@ import java.util.Date; import java.util.Map; import org.junit.Test; -import org.springframework.beans.factory.config.AbstractPropertyPlaceholderConfigurer; +import org.springframework.beans.factory.config.PlaceholderConfigurerSupport; import org.springframework.beans.factory.config.PropertyOverrideConfigurer; import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer; import org.springframework.context.ApplicationContext; @@ -45,8 +45,8 @@ public class ContextNamespaceHandlerTests { public void propertyPlaceholder() throws Exception { ApplicationContext applicationContext = new ClassPathXmlApplicationContext( "contextNamespaceHandlerTests-replace.xml", getClass()); - Map beans = applicationContext - .getBeansOfType(AbstractPropertyPlaceholderConfigurer.class); + Map beans = applicationContext + .getBeansOfType(PlaceholderConfigurerSupport.class); assertFalse("No PropertyPlaceholderConfigurer found", beans.isEmpty()); String s = (String) applicationContext.getBean("string"); assertEquals("No properties replaced", "bar", s); @@ -77,8 +77,8 @@ public class ContextNamespaceHandlerTests { applicationContext.setEnvironment(env); applicationContext.load(new ClassPathResource("contextNamespaceHandlerTests-simple.xml", getClass())); applicationContext.refresh(); - Map beans = applicationContext - .getBeansOfType(AbstractPropertyPlaceholderConfigurer.class); + Map beans = applicationContext + .getBeansOfType(PlaceholderConfigurerSupport.class); assertFalse("No PropertyPlaceholderConfigurer found", beans.isEmpty()); String s = (String) applicationContext.getBean("string"); assertEquals("No properties replaced", "spam", s); @@ -103,8 +103,8 @@ public class ContextNamespaceHandlerTests { public void propertyPlaceholderIgnored() throws Exception { ApplicationContext applicationContext = new ClassPathXmlApplicationContext( "contextNamespaceHandlerTests-replace-ignore.xml", getClass()); - Map beans = applicationContext - .getBeansOfType(AbstractPropertyPlaceholderConfigurer.class); + Map beans = applicationContext + .getBeansOfType(PlaceholderConfigurerSupport.class); assertFalse("No PropertyPlaceholderConfigurer found", beans.isEmpty()); String s = (String) applicationContext.getBean("string"); assertEquals("Properties replaced", "${bar}", s);