[java-idp-plugin-metadatagen] branch main updated: The tests seem to function against the IdP classpath.
Codeberg
noreply at shibboleth.net
Fri May 15 13:51:50 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-idp-plugin-metadatagen.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-metadatagen/commit/67add2958a7eab81aa1d0291f28a9e61f2733703
The following commit(s) were added to refs/heads/main by this push:
new 67add29 The tests seem to function against the IdP classpath.
67add29 is described below
commit 67add2958a7eab81aa1d0291f28a9e61f2733703
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Fri May 15 09:51:42 2026 -0400
The tests seem to function against the IdP classpath.
---
metadatagen-impl/pom.xml | 5 +++++
.../shibboleth/idp/plugin/metadatagen/impl/MetadataGenTest.java | 8 ++------
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/metadatagen-impl/pom.xml b/metadatagen-impl/pom.xml
index 48a9522..5e70921 100644
--- a/metadatagen-impl/pom.xml
+++ b/metadatagen-impl/pom.xml
@@ -125,6 +125,11 @@
</dependency>
<!-- Test dependencies. -->
+ <dependency>
+ <groupId>${idp.groupId}</groupId>
+ <artifactId>idp-conf-impl</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>${shib-profile.groupId}</groupId>
<artifactId>shib-profile-impl</artifactId>
diff --git a/metadatagen-impl/src/test/java/net/shibboleth/idp/plugin/metadatagen/impl/MetadataGenTest.java b/metadatagen-impl/src/test/java/net/shibboleth/idp/plugin/metadatagen/impl/MetadataGenTest.java
index 31d9426..107aec8 100644
--- a/metadatagen-impl/src/test/java/net/shibboleth/idp/plugin/metadatagen/impl/MetadataGenTest.java
+++ b/metadatagen-impl/src/test/java/net/shibboleth/idp/plugin/metadatagen/impl/MetadataGenTest.java
@@ -24,14 +24,10 @@ import net.shibboleth.shared.cli.AbstractCommandLine;
@SuppressWarnings("javadoc")
public class MetadataGenTest {
- // To run the test
- // 1) Set the next two static fields
- // 2) Edit the setting of the property 'idp.metadata.backchannel.cert' in
- // src/test/resources/net/shibboleth/idp/plugin/metadatagen/impl/extra2
- private final static String IDP_HOME = "/Users/scantor/Documents/shibboleth5/java-identity-provider/idp-conf-impl/src/main/resources/net/shibboleth/idp/module";
+ private final static String IDP_HOME = "classpath:/net/shibboleth/idp/module";
private final static String BATCH_PATH = "src/test/resources/net/shibboleth/idp/plugin/metadatagen/impl/batch.txt";
private final static String LAYOUT_PATH = "src/main/resources/net/shibboleth/idp/plugin/metadatagen/conf/examples/shibmd-layout.xml";
- private final boolean enabled = false;
+ private final boolean enabled = true;
@Test(enabled = enabled) public void testSimple() {
assertEquals(MetadataGenCLI.runMain(
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list