[spring-extensions] branch master updated: JPAR-146 - adopt Spring Framework 5.2

Ian Young ian at iay.org.uk
Mon Sep 30 11:11:18 EDT 2019


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=f79d6df22b412075f42a60da0872e758e6f10c2b

The following commit(s) were added to refs/heads/master by this push:
       new  f79d6df   JPAR-146 - adopt Spring Framework 5.2
f79d6df is described below

commit f79d6df22b412075f42a60da0872e758e6f10c2b
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Mon Sep 30 16:10:33 2019 +0100

    JPAR-146 - adopt Spring Framework 5.2
---
 .../ext/spring/service/MockApplicationContext.java         | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/test/java/net/shibboleth/ext/spring/service/MockApplicationContext.java b/src/test/java/net/shibboleth/ext/spring/service/MockApplicationContext.java
index 9d56be6..b215f06 100644
--- a/src/test/java/net/shibboleth/ext/spring/service/MockApplicationContext.java
+++ b/src/test/java/net/shibboleth/ext/spring/service/MockApplicationContext.java
@@ -44,7 +44,7 @@ import org.springframework.core.io.Resource;
  * Placeholder, which can be set on test {@link AbstractServiceableComponent}s to stop the
  * "must be null" test firing.
  */
-public class MockApplicationContext implements ConfigurableApplicationContext{
+public class MockApplicationContext implements ConfigurableApplicationContext {
 
     /** {@inheritDoc} */
     public String getId() {
@@ -107,6 +107,12 @@ public class MockApplicationContext implements ConfigurableApplicationContext{
     }
 
     /** {@inheritDoc} */
+    public String[] getBeanNamesForType(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) {
+        fail();
+        return null;
+    }
+
+    /** {@inheritDoc} */
     public String[] getBeanNamesForType(Class<?> type) {
         fail();
         return null;
@@ -230,6 +236,12 @@ public class MockApplicationContext implements ConfigurableApplicationContext{
     }
 
     /** {@inheritDoc} */
+    public Class<?> getType(String name, boolean allowFactoryBeanInit) throws NoSuchBeanDefinitionException {
+        fail();
+        return null;
+    }
+
+    /** {@inheritDoc} */
     public String[] getAliases(String name) {
         fail();
         return null;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list