From 4825f8eb88ef35ca265903515ae715014bb4d597 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 6 Jan 2014 05:30:35 +0000 Subject: [PATCH] remove use of old httpunit library git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555665 13f79535-47bb-0310-9956-ffa450edef68 --- .../RepositoryContentConsumersTest.java | 6 + .../archiva-rest-services/pom.xml | 3 - .../archiva-web/archiva-webdav/pom.xml | 36 +++- ...ositoryServletProxiedMetadataTestCase.java | 11 +- ...tractRepositoryServletProxiedTestCase.java | 13 +- .../AbstractRepositoryServletTestCase.java | 161 +++++++++++++--- .../webdav/RepositoryServletBrowseTest.java | 29 +-- .../webdav/RepositoryServletDeployTest.java | 12 +- .../RepositoryServletNoProxyMetadataTest.java | 13 +- .../webdav/RepositoryServletNoProxyTest.java | 113 ++++++------ ...positoryServletProxiedPassthroughTest.java | 12 +- ...ervletProxiedPluginSnapshotPolicyTest.java | 12 +- ...sitoryServletProxiedReleasePolicyTest.java | 12 +- ...RepositoryServletProxiedRelocatedTest.java | 10 +- ...itoryServletProxiedSnapshotPolicyTest.java | 12 +- ...tProxiedTimestampedSnapshotPolicyTest.java | 12 +- .../RepositoryServletRepositoryGroupTest.java | 29 ++- .../webdav/RepositoryServletSecurityTest.java | 173 ++++++++++-------- .../archiva/webdav/RepositoryServletTest.java | 15 +- .../httpunit/MkColMethodWebRequest.java | 15 +- .../webdav/util/MavenIndexerCleaner.java | 22 ++- pom.xml | 24 ++- 22 files changed, 460 insertions(+), 285 deletions(-) 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