From: Mário Franco Date: Mon, 20 Jul 2015 20:01:04 +0000 (+0100) Subject: Added failed validation X-Git-Tag: release-0.10.0~4^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F58%2Fhead;p=pf4j.git Added failed validation --- diff --git a/pf4j/src/test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java b/pf4j/src/test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java index 5062d3c..7e2a6ec 100644 --- a/pf4j/src/test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java +++ b/pf4j/src/test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java @@ -76,6 +76,8 @@ public class DefaultPluginRepositoryTest { assertEquals(true, instance.deletePluginArchive("/plugin-1")); + assertEquals(false, instance.deletePluginArchive("/plugin-3")); + List result = instance.getPluginArchives(); assertEquals(1, result.size());