You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/07/06 21:58:08 UTC
svn commit: r1358386 -
/lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java
Author: rmuir
Date: Fri Jul 6 19:58:08 2012
New Revision: 1358386
URL: http://svn.apache.org/viewvc?rev=1358386&view=rev
Log:
also add a nice param name 'strategy' instead of p0
Modified:
lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java
Modified: lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java?rev=1358386&r1=1358385&r2=1358386&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java (original)
+++ lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java Fri Jul 6 19:58:08 2012
@@ -17,6 +17,7 @@ package org.apache.lucene.spatial;
* limitations under the License.
*/
+import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
import com.spatial4j.core.context.SpatialContext;
import com.spatial4j.core.context.simple.SimpleSpatialContext;
@@ -90,7 +91,7 @@ public class PortedSolr3Test extends Str
// private String fieldName;
- public PortedSolr3Test(Param param) {
+ public PortedSolr3Test(@Name("strategy") Param param) {
SpatialStrategy strategy = param.strategy;
this.ctx = strategy.getSpatialContext();
this.strategy = strategy;