mirror of https://github.com/apache/lucene.git
LUCENE-6867: marking certain tests as ignored because of incompatibility in RandomizedTesting versions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711201 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e2d9deff4
commit
27a089a820
|
@ -48,10 +48,6 @@ public abstract class Geo3dShapeRectRelationTestCase extends RandomizedShapeTest
|
|||
@Rule
|
||||
public final TestLog testLog = TestLog.instance;
|
||||
|
||||
protected static Random random() {
|
||||
return RandomizedContext.current().getRandom();
|
||||
}
|
||||
|
||||
protected final PlanetModel planetModel;
|
||||
|
||||
public Geo3dShapeRectRelationTestCase(PlanetModel planetModel) {
|
||||
|
@ -117,6 +113,7 @@ public abstract class Geo3dShapeRectRelationTestCase extends RandomizedShapeTest
|
|||
}
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-6867")
|
||||
@Test
|
||||
public void testGeoCircleRect() {
|
||||
new Geo3dRectIntersectionTestHelper(ctx) {
|
||||
|
@ -139,6 +136,7 @@ public abstract class Geo3dShapeRectRelationTestCase extends RandomizedShapeTest
|
|||
}.testRelateWithRectangle();
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-6867")
|
||||
@Test
|
||||
public void testGeoBBoxRect() {
|
||||
new Geo3dRectIntersectionTestHelper(ctx) {
|
||||
|
@ -173,6 +171,7 @@ public abstract class Geo3dShapeRectRelationTestCase extends RandomizedShapeTest
|
|||
}.testRelateWithRectangle();
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-6867")
|
||||
@Test
|
||||
public void testGeoPolygonRect() {
|
||||
new Geo3dRectIntersectionTestHelper(ctx) {
|
||||
|
@ -216,6 +215,7 @@ public abstract class Geo3dShapeRectRelationTestCase extends RandomizedShapeTest
|
|||
}.testRelateWithRectangle();
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-6867")
|
||||
@Test
|
||||
public void testGeoPathRect() {
|
||||
new Geo3dRectIntersectionTestHelper(ctx) {
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.lucene.spatial.spatial4j;
|
|||
*/
|
||||
|
||||
|
||||
import com.carrotsearch.randomizedtesting.RandomizedTest;
|
||||
import com.spatial4j.core.context.SpatialContext;
|
||||
import com.spatial4j.core.distance.DistanceUtils;
|
||||
import com.spatial4j.core.shape.Circle;
|
||||
|
@ -31,11 +30,15 @@ import com.spatial4j.core.shape.impl.Range;
|
|||
import static com.spatial4j.core.shape.SpatialRelation.CONTAINS;
|
||||
import static com.spatial4j.core.shape.SpatialRelation.WITHIN;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
|
||||
import static com.carrotsearch.randomizedtesting.RandomizedTest.*;
|
||||
|
||||
/**
|
||||
* A base test class with utility methods to help test shapes.
|
||||
* Extends from RandomizedTest.
|
||||
*/
|
||||
public abstract class RandomizedShapeTestCase extends RandomizedTest {
|
||||
public abstract class RandomizedShapeTestCase extends LuceneTestCase {
|
||||
|
||||
protected static final double EPS = 10e-9;
|
||||
|
||||
|
|
Loading…
Reference in New Issue