From 4825f8eb88ef35ca265903515ae715014bb4d597 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 6 Jan 2014 05:30:35 +0000 Subject: remove use of old httpunit library git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555665 13f79535-47bb-0310-9956-ffa450edef68 --- .../scanner/RepositoryContentConsumersTest.java | 6 + .../archiva-rest/archiva-rest-services/pom.xml | 3 - archiva-modules/archiva-web/archiva-webdav/pom.xml | 36 ++++- ...ctRepositoryServletProxiedMetadataTestCase.java | 11 +- .../AbstractRepositoryServletProxiedTestCase.java | 13 +- .../webdav/AbstractRepositoryServletTestCase.java | 161 ++++++++++++++++--- .../webdav/RepositoryServletBrowseTest.java | 29 ++-- .../webdav/RepositoryServletDeployTest.java | 12 +- .../RepositoryServletNoProxyMetadataTest.java | 13 +- .../webdav/RepositoryServletNoProxyTest.java | 113 +++++++------- .../RepositoryServletProxiedPassthroughTest.java | 12 +- ...toryServletProxiedPluginSnapshotPolicyTest.java | 12 +- .../RepositoryServletProxiedReleasePolicyTest.java | 12 +- .../RepositoryServletProxiedRelocatedTest.java | 10 +- ...RepositoryServletProxiedSnapshotPolicyTest.java | 12 +- ...ervletProxiedTimestampedSnapshotPolicyTest.java | 12 +- .../RepositoryServletRepositoryGroupTest.java | 29 ++-- .../webdav/RepositoryServletSecurityTest.java | 173 ++++++++++++--------- .../archiva/webdav/RepositoryServletTest.java | 15 +- .../webdav/httpunit/MkColMethodWebRequest.java | 15 +- .../archiva/webdav/util/MavenIndexerCleaner.java | 22 +-- 21 files changed, 439 insertions(+), 282 deletions(-) (limited to 'archiva-modules') diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java index b246a2a7b..568bdd7d1 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java +++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java @@ -565,5 +565,11 @@ public class RepositoryContentConsumersTest { return null; } + + @Override + public String[] getBeanNamesForAnnotation( Class aClass ) + { + return new String[0]; + } } } diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml index 25e2d15ef..1a81d77bc 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml @@ -374,19 +374,16 @@ org.apache.tomcat.embed tomcat-embed-core - ${tomcat7Version} test org.apache.tomcat tomcat-juli - ${tomcat7Version} test org.apache.tomcat.embed tomcat-embed-logging-juli - ${tomcat7Version} test