diff options
author | Brett Porter <brett@apache.org> | 2010-03-11 11:36:00 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2010-03-11 11:36:00 +0000 |
commit | e2f5e24bf01aaf1e725d6a0270e89bbe20d73979 (patch) | |
tree | 1cd7cb3f7638f4a2efa0df4d89f21240609a74a1 /archiva-modules/plugins/repository-statistics/src | |
parent | 3387b53fcaebe7228ad212b833e929f1c14eaa51 (diff) | |
download | archiva-e2f5e24bf01aaf1e725d6a0270e89bbe20d73979.tar.gz archiva-e2f5e24bf01aaf1e725d6a0270e89bbe20d73979.zip |
fix test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921806 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/repository-statistics/src')
-rw-r--r-- | archiva-modules/plugins/repository-statistics/src/test/java/org/apache/archiva/metadata/repository/stats/RepositoryStatisticsManagerTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/archiva-modules/plugins/repository-statistics/src/test/java/org/apache/archiva/metadata/repository/stats/RepositoryStatisticsManagerTest.java b/archiva-modules/plugins/repository-statistics/src/test/java/org/apache/archiva/metadata/repository/stats/RepositoryStatisticsManagerTest.java index a5ce80313..2ca912e41 100644 --- a/archiva-modules/plugins/repository-statistics/src/test/java/org/apache/archiva/metadata/repository/stats/RepositoryStatisticsManagerTest.java +++ b/archiva-modules/plugins/repository-statistics/src/test/java/org/apache/archiva/metadata/repository/stats/RepositoryStatisticsManagerTest.java @@ -22,6 +22,7 @@ package org.apache.archiva.metadata.repository.stats; import junit.framework.TestCase; import org.apache.archiva.metadata.model.ArtifactMetadata; import org.apache.archiva.metadata.repository.MetadataRepository; +import org.apache.archiva.metadata.repository.storage.maven2.MavenArtifactFacet; import org.easymock.MockControl; import java.text.ParseException; @@ -438,6 +439,11 @@ public class RepositoryStatisticsManagerTest metadata.setSize( 12345L ); metadata.setVersion( projectVersion ); metadata.setNamespace( namespace ); + + MavenArtifactFacet facet = new MavenArtifactFacet(); + facet.setType( type ); + metadata.addFacet( facet ); + return metadata; } |