[java-identity-provider] branch main updated: Reenable tests.

Scott Cantor cantor.2 at osu.edu
Sun Jul 6 16:44:46 UTC 2025


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

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=d87848f342574fe1862fa3e9acca0344e836c663

The following commit(s) were added to refs/heads/main by this push:
     new d87848f34 Reenable tests.
d87848f34 is described below

commit d87848f342574fe1862fa3e9acca0344e836c663
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Sun Jul 6 12:44:38 2025 -0400

    Reenable tests.
---
 .../java/net/shibboleth/idp/module/IdPModuleTest.java  | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/idp-admin-api/src/test/java/net/shibboleth/idp/module/IdPModuleTest.java b/idp-admin-api/src/test/java/net/shibboleth/idp/module/IdPModuleTest.java
index c65c16ee2..7c689ad1c 100644
--- a/idp-admin-api/src/test/java/net/shibboleth/idp/module/IdPModuleTest.java
+++ b/idp-admin-api/src/test/java/net/shibboleth/idp/module/IdPModuleTest.java
@@ -76,7 +76,7 @@ public class IdPModuleTest {
     private IdPModule testModule;
     private ModuleContext context;
     
-    @BeforeMethod(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @BeforeMethod
     public void setUp() throws Exception {
         final ServiceLoader<IdPModule> loader = ServiceLoader.load(IdPModule.class);
         final Optional<Provider<IdPModule>> opt =
@@ -124,7 +124,7 @@ public class IdPModuleTest {
         }
     }
 
-    @AfterMethod(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @AfterMethod
     public void tearDown() throws IOException, InterruptedException {
         try {
             tearDownWorker();
@@ -136,7 +136,7 @@ public class IdPModuleTest {
     }
 
     
-    @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @Test
     public void testBadModules() {
         final ServiceLoader<IdPModule> loader = ServiceLoader.load(IdPModule.class);
 
@@ -160,7 +160,7 @@ public class IdPModuleTest {
         }
     }
     
-    @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @Test
     public void testModule() {
         Assert.assertEquals(testModule.getId(), "idp.test");
         Assert.assertEquals(testModule.getOwnerId(), "idp.test.plugin");
@@ -198,7 +198,7 @@ public class IdPModuleTest {
         Assert.assertEquals(testModule.getName(context), "Test module");
     }
 
-    @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @Test
     public void testEnableNoTree() throws ModuleException, IOException {
         testModule.enable(context);
         String xml = Files.readString(testHome.resolve("conf/test.xml"));
@@ -208,13 +208,13 @@ public class IdPModuleTest {
         Assert.assertEquals(vel, VEL_DATA);
     }
 
-    @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @Test
     public void testDisableNoTree() throws ModuleException {
         testModule.disable(context, true);
         testModule.disable(context, false);
     }
 
-    @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @Test
     public void testEnableClean() throws ModuleException, IOException {
         
         Files.createDirectory(testHome.resolve("conf"));
@@ -233,7 +233,7 @@ public class IdPModuleTest {
         Assert.assertEquals(testHome.resolve("views").toFile().listFiles().length, 0);
     }
 
-    @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @Test
     public void testEnableExistingSame() throws IOException, ModuleException, InterruptedException {
         Files.createDirectory(testHome.resolve("conf"));
         Files.createDirectory(testHome.resolve("views"));
@@ -270,7 +270,7 @@ public class IdPModuleTest {
         Assert.assertFalse(testHome.resolve("views/test.vm.idpnew").toFile().exists());
     }
 
-    @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+    @Test
     public void testEnableExistingDifferent() throws IOException, ModuleException {
         Files.createDirectory(testHome.resolve("conf"));
         Files.createDirectory(testHome.resolve("views"));

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


More information about the commits mailing list