[java-identity-provider] 01/03: IDP-1595 Fix plugin names in test.
Rod Widdowson
rdw at steadingsoftware.com
Wed Jun 24 13:17:52 UTC 2020
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=2b6046cbd19005a0d28e70a35c64195e38b13767
commit 2b6046cbd19005a0d28e70a35c64195e38b13767
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jun 24 10:34:06 2020 +0100
IDP-1595 Fix plugin names in test.
https://issues.shibboleth.net/jira/browse/IDP-1595
Also modify gitignore to ignore stuff left by the test.
---
idp-installer/.gitignore | 1 +
.../net/shibboleth/idp/installer/plugin/impl/PluginInstallerTest.java | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/idp-installer/.gitignore b/idp-installer/.gitignore
index 1df25bfc8..5c75514e5 100644
--- a/idp-installer/.gitignore
+++ b/idp-installer/.gitignore
@@ -1,2 +1,3 @@
/test-output
/target
+/src/test/resources/idphome-test/credentials
\ No newline at end of file
diff --git a/idp-installer/src/test/java/net/shibboleth/idp/installer/plugin/impl/PluginInstallerTest.java b/idp-installer/src/test/java/net/shibboleth/idp/installer/plugin/impl/PluginInstallerTest.java
index 5751c7be6..c1d469a39 100644
--- a/idp-installer/src/test/java/net/shibboleth/idp/installer/plugin/impl/PluginInstallerTest.java
+++ b/idp-installer/src/test/java/net/shibboleth/idp/installer/plugin/impl/PluginInstallerTest.java
@@ -32,10 +32,10 @@ import net.shibboleth.utilities.java.support.resource.Resource;
@SuppressWarnings("javadoc")
public class PluginInstallerTest {
- @Test(enabled=false) public void TestListing() throws ComponentInitializationException, IOException {
+ @Test public void TestListing() throws ComponentInitializationException, IOException {
PluginInstaller inst = new PluginInstaller();
inst.setIdpHome(new ClassPathResource("idphome-test").getFile().toPath());
- inst.setPluginId("net.shibboleth.plugins.scripting.nashorn");
+ inst.setPluginId("net.shibboleth.idp.plugin.scripting.nashorn");
inst.initialize();
List<PluginDescription> plugins = inst.getInstalledPlugins();
assertEquals(plugins.get(0).getPluginId(), "org.example.Plugin");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list