[java-shib-attribute] branch main updated: Binary chop through spring dc test to find failing test

Codeberg noreply at shibboleth.net
Tue Jul 28 10:32:26 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-shib-attribute.

View the commit online:
https://codeberg.org/Shibboleth/java-shib-attribute/commit/2e6dca0b21e7e4a1a9f7966bc3b576c774dfbf1d

The following commit(s) were added to refs/heads/main by this push:
     new 2e6dca0b2 Binary chop through spring dc test to find failing test
2e6dca0b2 is described below

commit 2e6dca0b21e7e4a1a9f7966bc3b576c774dfbf1d
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jul 28 11:33:34 2026 +0100

    Binary chop through spring dc test to find failing test
---
 .../attribute/resolver/spring/AttributeResolverTest.java | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/shib-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverTest.java b/shib-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverTest.java
index 7ba9e5314..5dc311d14 100644
--- a/shib-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverTest.java
+++ b/shib-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverTest.java
@@ -162,11 +162,11 @@ public class AttributeResolverTest extends OpenSAMLInitBaseTestCase {
         return result;
     }
     
-    @Test public void service() throws ComponentInitializationException, ServiceException, ResolutionException {
+    @Test(enabled = false) public void service() throws ComponentInitializationException, ServiceException, ResolutionException {
         helper(false);
     }
     
-    @Test public void serviceNullStrip() throws ComponentInitializationException, ServiceException, ResolutionException {
+    @Test(enabled = true) public void serviceNullStrip() throws ComponentInitializationException, ServiceException, ResolutionException {
         helper(true);
     }
 
@@ -343,7 +343,7 @@ public class AttributeResolverTest extends OpenSAMLInitBaseTestCase {
     }
 
     @SuppressWarnings("unchecked")
-    @Test public void idp2052() throws IOException, ResolutionException
+    @Test(enabled = false) public void idp2052() throws IOException, ResolutionException
     {
         Path p = Files.createTempFile("Attr", "2052");
 
@@ -391,7 +391,7 @@ public class AttributeResolverTest extends OpenSAMLInitBaseTestCase {
         Files.delete(p);
     }
 
-    @Test public void mappedTemplate() throws Exception {
+    @Test(enabled = true) public void mappedTemplate() throws Exception {
         final ReloadableService<AttributeResolver> attributeResolverService = getResolver("net/shibboleth/idp/attribute/resolver/spring/mappedTemplateService.xml");
 
         attributeResolverService.initialize();
@@ -410,7 +410,7 @@ public class AttributeResolverTest extends OpenSAMLInitBaseTestCase {
         assertEquals(resolvedAttributes.get("testing").getValues().size(), 2);
     }
 
-    @Test public void selective() throws ResolutionException, ComponentInitializationException {
+    @Test(enabled = false) public void selective() throws ResolutionException, ComponentInitializationException {
         final GenericApplicationContext context = new GenericApplicationContext();
         setTestContext(context);
         context.setDisplayName("ApplicationContext: " + AttributeResolverTest.class);
@@ -442,7 +442,7 @@ public class AttributeResolverTest extends OpenSAMLInitBaseTestCase {
         assertTrue(resolutionContext.getResolvedIdPAttributes().isEmpty());
     }
     
-    @Test public void preResolve() throws ResolutionException, ComponentInitializationException {
+    @Test(enabled = true) public void preResolve() throws ResolutionException, ComponentInitializationException {
         final GenericApplicationContext context = new GenericApplicationContext();
         setTestContext(context);
         context.setDisplayName("ApplicationContext: " + AttributeResolverTest.class);
@@ -482,7 +482,7 @@ public class AttributeResolverTest extends OpenSAMLInitBaseTestCase {
         assertEquals(postOnly.getValues().get(0).getDisplayValue(), "preOnly");
     }
 
-    @Test public void selectiveNavigate() throws ResolutionException, ComponentInitializationException {
+    @Test(enabled = true) public void selectiveNavigate() throws ResolutionException, ComponentInitializationException {
         final GenericApplicationContext context = new GenericApplicationContext();
         setTestContext(context);
         context.setDisplayName("ApplicationContext: " + AttributeResolverTest.class);
@@ -524,7 +524,7 @@ public class AttributeResolverTest extends OpenSAMLInitBaseTestCase {
         assertTrue(resolutionContext.getResolvedIdPAttributes().isEmpty());
     }
     
-    @Test public void multiFile() throws ResolutionException {
+    @Test(enabled = false) public void multiFile() throws ResolutionException {
         final ReloadableService<AttributeResolver> attributeResolverService = getResolver("net/shibboleth/idp/attribute/resolver/spring/multiFileService.xml");
         
         final AttributeResolutionContext resolutionContext =

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


More information about the commits mailing list