[java-identity-provider COMMIT] /trunk/idp-core/src/test/java/net/shibboleth/idp/service/ReloadableSpringServiceTest....

noreply at shibboleth.net noreply at shibboleth.net
Sat May 31 14:01:28 EDT 2014


Author: scantor
Date: Sat May 31 14:01:27 2014
New Revision: 6014

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6014&view=rev
Log:
Fix failing test

Modified:
    trunk/idp-core/src/test/java/net/shibboleth/idp/service/ReloadableSpringServiceTest.java

Modified: trunk/idp-core/src/test/java/net/shibboleth/idp/service/ReloadableSpringServiceTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/src/test/java/net/shibboleth/idp/service/ReloadableSpringServiceTest.java?rev=6014&r1=6013&r2=6014&view=diff
==============================================================================
--- trunk/idp-core/src/test/java/net/shibboleth/idp/service/ReloadableSpringServiceTest.java (original)
+++ trunk/idp-core/src/test/java/net/shibboleth/idp/service/ReloadableSpringServiceTest.java Sat May 31 14:01:27 2014
@@ -26,6 +26,7 @@
 import net.shibboleth.ext.spring.util.SpringSupport;
 
 import org.springframework.beans.factory.BeanInitializationException;
+import org.springframework.beans.factory.config.BeanPostProcessor;
 import org.springframework.context.support.GenericApplicationContext;
 import org.springframework.core.io.ClassPathResource;
 import org.springframework.core.io.FileSystemResource;
@@ -230,8 +231,8 @@
 
         Resource parentResource = new ClassPathResource("net/shibboleth/idp/service/ReloadableSpringService.xml");
 
-        GenericApplicationContext appCtx =
-                SpringSupport.newContext("appCtx", Collections.singletonList(parentResource), null);
+        GenericApplicationContext appCtx = SpringSupport.newContext("appCtx", Collections.singletonList(parentResource),
+                Collections.<BeanPostProcessor>emptyList(), null);
                 
         ReloadableSpringService service = appCtx.getBean("testReloadableSpringService", ReloadableSpringService.class);
 
@@ -242,8 +243,8 @@
 
         Resource parentResource = new ClassPathResource("net/shibboleth/idp/service/ReloadableSpringService.xml");
 
-        GenericApplicationContext appCtx =
-                SpringSupport.newContext("appCtx", Collections.singletonList(parentResource), null);
+        GenericApplicationContext appCtx = SpringSupport.newContext("appCtx", Collections.singletonList(parentResource),
+                Collections.<BeanPostProcessor>emptyList(), null);
                 
         ReloadableSpringService service1 = appCtx.getBean("testReloadableSpringService", ReloadableSpringService.class);
         Assert.assertEquals(service1.getId(), "testReloadableSpringService");



More information about the commits mailing list