[spring-extensions] branch main updated: JSE-46 - Spring 5.3.14 breaks MockApplicationContext test helper
Scott Cantor
cantor.2 at osu.edu
Tue Jan 25 20:55:00 UTC 2022
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository spring-extensions.
View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=02d46c98f06198dcd9d7e20251218742b313d565
The following commit(s) were added to refs/heads/main by this push:
new 02d46c9 JSE-46 - Spring 5.3.14 breaks MockApplicationContext test helper
02d46c9 is described below
commit 02d46c98f06198dcd9d7e20251218742b313d565
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 25 15:54:57 2022 -0500
JSE-46 - Spring 5.3.14 breaks MockApplicationContext test helper
https://shibboleth.atlassian.net/browse/JSE-46
---
pom.xml | 4 +---
.../net/shibboleth/ext/spring/testing/MockApplicationContext.java | 7 +++++++
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index e2717bb..bd2d184 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,10 +26,8 @@
<properties>
<automatic.module.name>net.shibboleth.ext.spring</automatic.module.name>
- <java-support.version>8.2.1</java-support.version>
+ <java-support.version>8.2.2-SNAPSHOT</java-support.version>
<net.shibboleth.maven.enforcer.rules.checkM2>false</net.shibboleth.maven.enforcer.rules.checkM2>
- <!-- TODO: Remove when parent POM updated. -->
- <spring.version>5.3.9</spring.version>
<shibboleth.site.deploy.url>//shibboleth.net/home/javasites/staging/</shibboleth.site.deploy.url>
<jdk.version>15.3</jdk.version>
</properties>
diff --git a/src/test/java/net/shibboleth/ext/spring/testing/MockApplicationContext.java b/src/test/java/net/shibboleth/ext/spring/testing/MockApplicationContext.java
index b73065b..9050589 100644
--- a/src/test/java/net/shibboleth/ext/spring/testing/MockApplicationContext.java
+++ b/src/test/java/net/shibboleth/ext/spring/testing/MockApplicationContext.java
@@ -408,4 +408,11 @@ public class MockApplicationContext implements ConfigurableApplicationContext {
fail();
return null;
}
+
+ /** {@inheritDoc} */
+ public <A extends Annotation> A findAnnotationOnBean(String beanName, Class<A> annotationType,
+ boolean allowFactoryBeanInit) throws NoSuchBeanDefinitionException {
+ 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