archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1171039 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/SearchActionTest.java
Date Thu, 15 Sep 2011 10:43:45 GMT
Author: olamy
Date: Thu Sep 15 10:43:44 2011
New Revision: 1171039

URL: http://svn.apache.org/viewvc?rev=1171039&view=rev
Log:
fix compilation

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/SearchActionTest.java

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/SearchActionTest.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/SearchActionTest.java?rev=1171039&r1=1171038&r2=1171039&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/SearchActionTest.java
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/SearchActionTest.java
Thu Sep 15 10:43:44 2011
@@ -21,7 +21,6 @@ package org.apache.maven.archiva.web.act
 
 import com.opensymphony.xwork2.Action;
 import org.apache.archiva.admin.model.managed.ManagedRepositoryAdmin;
-import org.apache.archiva.admin.repository.managed.DefaultManagedRepositoryAdmin;
 import org.apache.archiva.indexer.search.RepositorySearch;
 import org.apache.archiva.indexer.search.SearchFields;
 import org.apache.archiva.indexer.search.SearchResultHit;
@@ -133,7 +132,7 @@ public class SearchActionTest
         SearchResults results = new SearchResults();
         results.setLimits( limits );
         results.setTotalHits( 1 );
-        results.addHit( SearchUtil.getHitId( "org.apache.archiva", "archiva-configuration"
), hit );
+        results.addHit( SearchUtil.getHitId( "org.apache.archiva", "archiva-configuration",
null, "jar" ), hit );
 
         userReposControl.expectAndReturn( userRepos.getObservableRepositoryIds( "user" ),
selectedRepos );
 
@@ -182,7 +181,7 @@ public class SearchActionTest
         SearchResults results = new SearchResults();
         results.setLimits( limits );
         results.setTotalHits( 1 );
-        results.addHit( SearchUtil.getHitId( "org.apache.archiva", "archiva-configuration"
), hit );
+        results.addHit( SearchUtil.getHitId( "org.apache.archiva", "archiva-configuration",
null, "jar" ), hit );
 
         userReposControl.expectAndReturn( userRepos.getObservableRepositoryIds( "user" ),
selectedRepos );
 
@@ -284,7 +283,7 @@ public class SearchActionTest
         SearchResults results = new SearchResults();
         results.setLimits( limits );
         results.setTotalHits( 1 );
-        results.addHit( SearchUtil.getHitId( "org.apache.archiva", "archiva-configuration"
), hit );
+        results.addHit( SearchUtil.getHitId( "org.apache.archiva", "archiva-configuration",
null, "jar" ), hit );
 
         List<String> selectedRepos = new ArrayList<String>();
         selectedRepos.add( "internal" );
@@ -331,7 +330,7 @@ public class SearchActionTest
         SearchResults results = new SearchResults();
         results.setLimits( limits );
         results.setTotalHits( 1 );
-        results.addHit( SearchUtil.getHitId( "org.apache.archiva", "archiva-configuration"
), hit );
+        results.addHit( SearchUtil.getHitId( "org.apache.archiva", "archiva-configuration",
null, "jar" ), hit );
 
         List<String> selectedRepos = new ArrayList<String>();
         selectedRepos.add( "internal" );



Mime
View raw message