diff options
author | Olivier Lamy <olamy@apache.org> | 2011-09-16 09:23:31 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-09-16 09:23:31 +0000 |
commit | 3c42d0834ee08f6454c6eb43314ed88313874037 (patch) | |
tree | 22dd75ea09a11bb5b365da6319b108eb97ef4f6d /archiva-modules/archiva-base/archiva-repository-layer/src | |
parent | e1744f5d84f185926634580e47fee7d74732e4a4 (diff) | |
download | archiva-3c42d0834ee08f6454c6eb43314ed88313874037.tar.gz archiva-3c42d0834ee08f6454c6eb43314ed88313874037.zip |
fix test compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171467 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-layer/src')
17 files changed, 45 insertions, 43 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/AbstractRepositoryLayerTestCase.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/AbstractRepositoryLayerTestCase.java index e3bdbcfdf..5b192f3c4 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/AbstractRepositoryLayerTestCase.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/AbstractRepositoryLayerTestCase.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository; +package org.apache.archiva.repository; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -21,6 +21,8 @@ package org.apache.maven.archiva.repository; import org.apache.archiva.admin.model.beans.ManagedRepository; import org.apache.archiva.admin.model.beans.RemoteRepository; +import org.apache.archiva.repository.ManagedRepositoryContent; +import org.apache.archiva.repository.RemoteRepositoryContent; import org.junit.Rule; import org.junit.rules.TestName; import org.junit.runner.RunWith; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/MockConfiguration.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/MockConfiguration.java index e460ed30d..117983ca2 100755 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/MockConfiguration.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/MockConfiguration.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository; +package org.apache.archiva.repository; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/RepositoryURLTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/RepositoryURLTest.java index 55e10a930..83267d14c 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/RepositoryURLTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/RepositoryURLTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository; +package org.apache.archiva.repository; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractDefaultRepositoryContentTestCase.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractDefaultRepositoryContentTestCase.java index 18fbd5a46..f557092d3 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractDefaultRepositoryContentTestCase.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractDefaultRepositoryContentTestCase.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -19,10 +19,10 @@ package org.apache.maven.archiva.repository.content; * under the License. */ -import org.apache.commons.lang.StringUtils; import org.apache.archiva.model.ArtifactReference; -import org.apache.maven.archiva.repository.AbstractRepositoryLayerTestCase; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.AbstractRepositoryLayerTestCase; +import org.apache.archiva.repository.layout.LayoutException; +import org.apache.commons.lang.StringUtils; import org.junit.Test; import static org.junit.Assert.*; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractLegacyRepositoryContentTestCase.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractLegacyRepositoryContentTestCase.java index 0b4a10ae7..965fbb9ff 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractLegacyRepositoryContentTestCase.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractLegacyRepositoryContentTestCase.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -20,8 +20,8 @@ package org.apache.maven.archiva.repository.content; */ import org.apache.archiva.model.ArtifactReference; -import org.apache.maven.archiva.repository.AbstractRepositoryLayerTestCase; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.AbstractRepositoryLayerTestCase; +import org.apache.archiva.repository.layout.LayoutException; import org.junit.Test; import static org.junit.Assert.*; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ArtifactExtensionMappingTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ArtifactExtensionMappingTest.java index 9cfb9032a..0372e8809 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ArtifactExtensionMappingTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ArtifactExtensionMappingTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -24,7 +24,7 @@ import org.apache.archiva.metadata.repository.storage.RepositoryPathTranslator; import org.apache.archiva.metadata.repository.storage.maven2.ArtifactMappingProvider; import org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryPathTranslator; import org.apache.archiva.metadata.repository.storage.maven2.MavenArtifactFacet; -import org.apache.maven.archiva.repository.AbstractRepositoryLayerTestCase; +import org.apache.archiva.repository.AbstractRepositoryLayerTestCase; import org.junit.Test; import java.util.Collections; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/DefaultPathParserTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/DefaultPathParserTest.java index 6f86ef225..10cb0c015 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/DefaultPathParserTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/DefaultPathParserTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -21,8 +21,8 @@ package org.apache.maven.archiva.repository.content; import org.apache.commons.lang.StringUtils; import org.apache.archiva.model.ArtifactReference; -import org.apache.maven.archiva.repository.AbstractRepositoryLayerTestCase; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.AbstractRepositoryLayerTestCase; +import org.apache.archiva.repository.layout.LayoutException; import org.junit.Test; import static org.junit.Assert.*; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/FilenameParserTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/FilenameParserTest.java index 7321f13df..99e34acab 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/FilenameParserTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/FilenameParserTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/LegacyPathParserTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/LegacyPathParserTest.java index 6b578169b..930ff1023 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/LegacyPathParserTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/LegacyPathParserTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -23,8 +23,8 @@ package org.apache.maven.archiva.repository.content; import org.apache.maven.archiva.configuration.ArchivaConfiguration; import org.apache.maven.archiva.configuration.LegacyArtifactPath; import org.apache.archiva.model.ArtifactReference; -import org.apache.maven.archiva.repository.AbstractRepositoryLayerTestCase; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.AbstractRepositoryLayerTestCase; +import org.apache.archiva.repository.layout.LayoutException; import org.junit.Before; import org.junit.Test; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ManagedDefaultRepositoryContentTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ManagedDefaultRepositoryContentTest.java index f6b8b9a0b..9dd4124fb 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ManagedDefaultRepositoryContentTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ManagedDefaultRepositoryContentTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -27,8 +27,8 @@ import org.apache.maven.archiva.configuration.FileTypes; import org.apache.archiva.model.ArtifactReference; import org.apache.archiva.model.ProjectReference; import org.apache.archiva.model.VersionedReference; -import org.apache.maven.archiva.repository.ManagedRepositoryContent; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.ManagedRepositoryContent; +import org.apache.archiva.repository.layout.LayoutException; import org.junit.Before; import org.junit.Test; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ManagedLegacyRepositoryContentTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ManagedLegacyRepositoryContentTest.java index 99ce8ae01..0298630a3 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ManagedLegacyRepositoryContentTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/ManagedLegacyRepositoryContentTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -24,8 +24,8 @@ import org.apache.archiva.common.utils.VersionComparator; import org.apache.archiva.model.ArtifactReference; import org.apache.archiva.model.ProjectReference; import org.apache.archiva.model.VersionedReference; -import org.apache.maven.archiva.repository.ManagedRepositoryContent; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.ManagedRepositoryContent; +import org.apache.archiva.repository.layout.LayoutException; import org.junit.Before; import org.junit.Test; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RemoteDefaultRepositoryContentTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RemoteDefaultRepositoryContentTest.java index 75ba208dc..96f89c825 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RemoteDefaultRepositoryContentTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RemoteDefaultRepositoryContentTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -21,8 +21,8 @@ package org.apache.maven.archiva.repository.content; import org.apache.archiva.admin.model.beans.RemoteRepository; import org.apache.archiva.model.ArtifactReference; -import org.apache.maven.archiva.repository.RemoteRepositoryContent; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.RemoteRepositoryContent; +import org.apache.archiva.repository.layout.LayoutException; import org.junit.Before; import javax.inject.Inject; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RemoteLegacyRepositoryContentTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RemoteLegacyRepositoryContentTest.java index 352c9107d..837abb8c5 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RemoteLegacyRepositoryContentTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RemoteLegacyRepositoryContentTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -21,8 +21,8 @@ package org.apache.maven.archiva.repository.content; import org.apache.archiva.admin.model.beans.RemoteRepository; import org.apache.archiva.model.ArtifactReference; -import org.apache.maven.archiva.repository.RemoteRepositoryContent; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.RemoteRepositoryContent; +import org.apache.archiva.repository.layout.LayoutException; import org.junit.Before; import javax.inject.Inject; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RepositoryRequestTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RepositoryRequestTest.java index 70d414a2d..b7c65d679 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RepositoryRequestTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/RepositoryRequestTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.content; +package org.apache.archiva.repository.content; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -23,9 +23,9 @@ import org.apache.commons.lang.StringUtils; import org.apache.archiva.common.utils.FileUtil; import org.apache.maven.archiva.configuration.ArchivaConfiguration; import org.apache.archiva.model.ArtifactReference; -import org.apache.maven.archiva.repository.AbstractRepositoryLayerTestCase; -import org.apache.maven.archiva.repository.ManagedRepositoryContent; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.AbstractRepositoryLayerTestCase; +import org.apache.archiva.repository.ManagedRepositoryContent; +import org.apache.archiva.repository.layout.LayoutException; import org.junit.Before; import org.junit.Test; import org.springframework.test.context.ContextConfiguration; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/MetadataToolsTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/MetadataToolsTest.java index b53857322..25590d8e5 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/MetadataToolsTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/MetadataToolsTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.metadata; +package org.apache.archiva.repository.metadata; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -30,11 +30,11 @@ import org.apache.archiva.policies.CachedFailuresPolicy; import org.apache.archiva.policies.ChecksumPolicy; import org.apache.archiva.policies.ReleasesPolicy; import org.apache.archiva.policies.SnapshotsPolicy; -import org.apache.maven.archiva.repository.AbstractRepositoryLayerTestCase; -import org.apache.maven.archiva.repository.ManagedRepositoryContent; -import org.apache.maven.archiva.repository.MockConfiguration; -import org.apache.maven.archiva.repository.RemoteRepositoryContent; -import org.apache.maven.archiva.repository.layout.LayoutException; +import org.apache.archiva.repository.AbstractRepositoryLayerTestCase; +import org.apache.archiva.repository.ManagedRepositoryContent; +import org.apache.archiva.repository.MockConfiguration; +import org.apache.archiva.repository.RemoteRepositoryContent; +import org.apache.archiva.repository.layout.LayoutException; import org.custommonkey.xmlunit.DetailedDiff; import org.custommonkey.xmlunit.Diff; import org.junit.Test; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/RepositoryMetadataReaderTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/RepositoryMetadataReaderTest.java index b0069d1e6..d015e73e8 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/RepositoryMetadataReaderTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/RepositoryMetadataReaderTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.metadata; +package org.apache.archiva.repository.metadata; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/RepositoryMetadataWriterTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/RepositoryMetadataWriterTest.java index 0f6bc26f2..373c8de9b 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/RepositoryMetadataWriterTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/metadata/RepositoryMetadataWriterTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.metadata; +package org.apache.archiva.repository.metadata; /* * Licensed to the Apache Software Foundation (ASF) under one |