From fcfaf3f0f5da7d4b5ad957d0f737b770a7956a2b Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Fri, 6 Jul 2012 19:58:08 +0000 Subject: [PATCH] also add a nice param name 'strategy' instead of p0 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358386 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/lucene/spatial/PortedSolr3Test.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java b/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java index b30026c0ce5..a4c4201895c 100644 --- a/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java +++ b/lucene/spatial/src/test/org/apache/lucene/spatial/PortedSolr3Test.java @@ -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 StrategyTestCase { // private String fieldName; - public PortedSolr3Test(Param param) { + public PortedSolr3Test(@Name("strategy") Param param) { SpatialStrategy strategy = param.strategy; this.ctx = strategy.getSpatialContext(); this.strategy = strategy;