]> source.dussan.org Git - archiva.git/commit
[MRM-161] move the query layer tests, remove unnecessary mocks, and fix tests to...
authorBrett Porter <brett@apache.org>
Tue, 5 Sep 2006 07:00:52 +0000 (07:00 +0000)
committerBrett Porter <brett@apache.org>
Tue, 5 Sep 2006 07:00:52 +0000 (07:00 +0000)
commit63c171e2eb136117115bc2f964d92c8a30480d6e
tree5a802f4e4eae01cda1374229a75a87b99e96b1f5
parentd29cdf4ab1f77b962802f92f9d94c707fbb39037
[MRM-161] move the query layer tests, remove unnecessary mocks, and fix tests to test legitimate things. Remove tests for null artifact ids, etc since it is impossible that they would be created with a normal (non-mock) API and the reporting will get these errors fed through from the file positioning and model validation errors instead

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440282 13f79535-47bb-0310-9956-ffa450edef68
29 files changed:
archiva-core/src/main/java/org/apache/maven/archiva/DefaultRepositoryManager.java
archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/ArtifactReporter.java
archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/BadMetadataReportProcessor.java
archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/DefaultArtifactReportProcessor.java
archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/DefaultArtifactReporter.java
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/AbstractRepositoryQueryLayerTestCase.java [deleted file]
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/ArtifactReportProcessorTest.java
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/ArtifactReporterTest.java
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/BadMetadataReportProcessorTest.java
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/CacheTest.java [deleted file]
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/CachedRepositoryQueryLayerTest.java [deleted file]
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/GenericMockObject.java [deleted file]
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/MockArtifact.java [deleted file]
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/MockArtifactFactory.java [deleted file]
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/MockArtifactReportProcessor.java [deleted file]
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/MockRepositoryQueryLayer.java [deleted file]
archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/ReportCondition.java [deleted file]
archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/AbstractRepositoryQueryLayer.java [deleted file]
archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/CachedRepositoryQueryLayer.java
archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/DefaultRepositoryQueryLayer.java
archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/RepositoryQueryLayer.java
archiva-repository-layer/src/test/java/org/apache/maven/archiva/layer/AbstractRepositoryQueryLayerTestCase.java [new file with mode: 0644]
archiva-repository-layer/src/test/java/org/apache/maven/archiva/layer/CacheTest.java [new file with mode: 0644]
archiva-repository-layer/src/test/java/org/apache/maven/archiva/layer/CachedRepositoryQueryLayerTest.java [new file with mode: 0644]
archiva-repository-layer/src/test/java/org/apache/maven/archiva/layer/DefaultRepositoryQueryLayerTest.java [new file with mode: 0644]
archiva-repository-layer/src/test/repository/groupId/artifactId/1.0-alpha-1/artifactId-1.0-alpha-1.jar [new file with mode: 0644]
archiva-repository-layer/src/test/repository/groupId/artifactId/1.0-alpha-1/artifactId-1.0-alpha-1.pom [new file with mode: 0644]
archiva-repository-layer/src/test/repository/groupId/artifactId/maven-metadata.xml [new file with mode: 0644]
archiva-repository-layer/src/test/repository/groupId/snapshot-artifact/1.0-alpha-1-SNAPSHOT/snapshot-artifact-1.0-alpha-1-20050611.202024-1.pom [new file with mode: 0644]