mirror of https://github.com/apache/lucene.git
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
This commit is contained in:
parent
6104f180a1
commit
fcfaf3f0f5
|
@ -17,6 +17,7 @@ package org.apache.lucene.spatial;
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import com.carrotsearch.randomizedtesting.annotations.Name;
|
||||||
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
|
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
|
||||||
import com.spatial4j.core.context.SpatialContext;
|
import com.spatial4j.core.context.SpatialContext;
|
||||||
import com.spatial4j.core.context.simple.SimpleSpatialContext;
|
import com.spatial4j.core.context.simple.SimpleSpatialContext;
|
||||||
|
@ -90,7 +91,7 @@ public class PortedSolr3Test extends StrategyTestCase {
|
||||||
|
|
||||||
// private String fieldName;
|
// private String fieldName;
|
||||||
|
|
||||||
public PortedSolr3Test(Param param) {
|
public PortedSolr3Test(@Name("strategy") Param param) {
|
||||||
SpatialStrategy strategy = param.strategy;
|
SpatialStrategy strategy = param.strategy;
|
||||||
this.ctx = strategy.getSpatialContext();
|
this.ctx = strategy.getSpatialContext();
|
||||||
this.strategy = strategy;
|
this.strategy = strategy;
|
||||||
|
|
Loading…
Reference in New Issue