[java-opensaml] branch main updated: Split out TestInitializer.

Scott Cantor cantor.2 at osu.edu
Fri Sep 18 14:40:36 UTC 2020


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=8b1bef4d9ee1ea354cb749dcae3d8fb37072e1b6

The following commit(s) were added to refs/heads/main by this push:
       new  8b1bef4d9 Split out TestInitializer.
8b1bef4d9 is described below

commit 8b1bef4d9ee1ea354cb749dcae3d8fb37072e1b6
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Sep 18 10:40:33 2020 -0400

    Split out TestInitializer.
---
 .../TestXMLObjectProviderInitializer.java             |  2 +-
 .../package-info.java}                                | 19 ++-----------------
 .../services/org.opensaml.core.config.Initializer     |  2 +-
 3 files changed, 4 insertions(+), 19 deletions(-)

diff --git a/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/TestXMLObjectProviderInitializer.java b/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/testing/TestXMLObjectProviderInitializer.java
similarity index 96%
copy from opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/TestXMLObjectProviderInitializer.java
copy to opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/testing/TestXMLObjectProviderInitializer.java
index 30ad42c25..ef68ddbe0 100644
--- a/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/TestXMLObjectProviderInitializer.java
+++ b/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/testing/TestXMLObjectProviderInitializer.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.opensaml.xmlsec.config.impl;
+package org.opensaml.xmlsec.config.impl.testing;
 
 import org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer;
 
diff --git a/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/TestXMLObjectProviderInitializer.java b/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/testing/package-info.java
similarity index 62%
rename from opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/TestXMLObjectProviderInitializer.java
rename to opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/testing/package-info.java
index 30ad42c25..48640947a 100644
--- a/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/TestXMLObjectProviderInitializer.java
+++ b/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/config/impl/testing/package-info.java
@@ -15,23 +15,8 @@
  * limitations under the License.
  */
 
-package org.opensaml.xmlsec.config.impl;
-
-import org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer;
-
 /**
- * XMLObject provider initializer for module "xmlsec", for testing classes only.
+ * Testing utility classes.
  */
-public class TestXMLObjectProviderInitializer extends AbstractXMLObjectProviderInitializer {
-    
-    /** Config resources. */
-    private static String[] configs = {
-        "/xmlsec-test-config.xml",
-        };
-
-    /** {@inheritDoc} */
-    protected String[] getConfigResources() {
-        return configs;
-    }
 
-}
+package org.opensaml.xmlsec.config.impl.testing;
\ No newline at end of file
diff --git a/opensaml-xmlsec-impl/src/test/resources/META-INF/services/org.opensaml.core.config.Initializer b/opensaml-xmlsec-impl/src/test/resources/META-INF/services/org.opensaml.core.config.Initializer
index 4fd949fe3..7daa28898 100644
--- a/opensaml-xmlsec-impl/src/test/resources/META-INF/services/org.opensaml.core.config.Initializer
+++ b/opensaml-xmlsec-impl/src/test/resources/META-INF/services/org.opensaml.core.config.Initializer
@@ -1 +1 @@
-org.opensaml.xmlsec.config.impl.TestXMLObjectProviderInitializer
+org.opensaml.xmlsec.config.impl.testing.TestXMLObjectProviderInitializer

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


More information about the commits mailing list