From c4eb81648468e86ad971c7369879d9727dcb7fc5 Mon Sep 17 00:00:00 2001 From: skygo Date: Fri, 31 Aug 2012 21:05:01 +0000 Subject: [PATCH] continue to make test more jdk7 complient git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379609 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/archiva/configuration/ArchivaConfigurationTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java index a9ff01dbc..1a34df827 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java +++ b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java @@ -185,6 +185,9 @@ public class ArchivaConfigurationTest finally { System.getProperties().remove( "org.apache.archiva.webapp.ui.appletFindEnabled" ); + archivaConfiguration.reload(); + Configuration configuration = archivaConfiguration.getConfiguration(); + assertTrue( "check boolean", configuration.getWebapp().getUi().isAppletFindEnabled() ); } } -- 2.39.5