Pierre Gruet pushed to branch master at Debian Java Maintainers / libpf4j-update-java
Commits: 8045a873 by Pierre Gruet at 2024-10-08T22:17:26+02:00 Raising Standards version to 4.7.0 (no change) - - - - - 4523e19f by Pierre Gruet at 2024-10-08T23:46:04+02:00 Expecting PluginNotFoundException in uninstallNonExisting test - - - - - 5067998e by Pierre Gruet at 2024-10-08T23:47:07+02:00 Upload to unstable - - - - - 4 changed files: - debian/changelog - debian/control - + debian/patches/PluginNotFoundException.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,11 @@ +libpf4j-update-java (2.3.0+dfsg-5) unstable; urgency=medium + + * Raising Standards version to 4.7.0 (no change) + * Expecting PluginNotFoundException in uninstallNonExisting test + (Closes: #1084288) + + -- Pierre Gruet <[email protected]> Tue, 08 Oct 2024 23:46:07 +0200 + libpf4j-update-java (2.3.0+dfsg-4) unstable; urgency=medium * Raising Standards version to 4.6.2 (no change) ===================================== debian/control ===================================== @@ -16,7 +16,7 @@ Build-Depends: debhelper-compat (= 13), junit4 <!nocheck>, libjetty9-java <!nocheck>, liblog4j1.2-java <!nocheck> -Standards-Version: 4.6.2 +Standards-Version: 4.7.0 Vcs-Browser: https://salsa.debian.org/java-team/libpf4j-update-java Vcs-Git: https://salsa.debian.org/java-team/libpf4j-update-java.git Homepage: http://www.pf4j.org/ ===================================== debian/patches/PluginNotFoundException.patch ===================================== @@ -0,0 +1,25 @@ +Description: pf4j now has a dedicated Exception for plugins that are not found +Author: Pierre Gruet <[email protected]> +Bug-Debian: https://bugs.debian.org/1084288 +Forwarded: https://github.com/pf4j/pf4j-update/issues/65 +Last-Update: 2024-10-08 + +--- a/src/test/java/org/pf4j/update/InstallAndDownloadTest.java ++++ b/src/test/java/org/pf4j/update/InstallAndDownloadTest.java +@@ -20,6 +20,7 @@ + import org.junit.Before; + import org.junit.Test; + import org.pf4j.PluginManager; ++import org.pf4j.PluginNotFoundException; + import org.pf4j.PluginRuntimeException; + import org.pf4j.PluginWrapper; + import org.pf4j.TestPluginDescriptor; +@@ -165,7 +166,7 @@ + assertFalse(updateManager.updatePlugin("myPlugin", null)); // Update to latest + } + +- @Test(expected = IllegalArgumentException.class) ++ @Test(expected = PluginNotFoundException.class) + public void uninstallNonExisting() { + updateManager.uninstallPlugin("other"); + } ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ omit_test_downloading_data.patch +PluginNotFoundException.patch View it on GitLab: https://salsa.debian.org/java-team/libpf4j-update-java/-/compare/7e6a0f79a11c10957ad95d0811bf77124b6a2bfd...5067998e4b0c05c4bba6d28813b2132e3a71722c -- View it on GitLab: https://salsa.debian.org/java-team/libpf4j-update-java/-/compare/7e6a0f79a11c10957ad95d0811bf77124b6a2bfd...5067998e4b0c05c4bba6d28813b2132e3a71722c You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

