From dc2f17483a92a73de3aaa75f5343e32cba8c5f5a Mon Sep 17 00:00:00 2001 From: Karl Wright Date: Tue, 5 Apr 2016 03:00:15 -0400 Subject: [PATCH] LUCENE-7167: Re-enable test I disabled because of the package-private changes. --- .../spatial/spatial4j/Geo3dShapeRectRelationTestCase.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java index 3fbfad8a208..2c41f79b880 100644 --- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java +++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java @@ -28,6 +28,7 @@ import org.locationtech.spatial4j.shape.RectIntersectionTestHelper; import org.apache.lucene.spatial3d.geom.LatLonBounds; import org.apache.lucene.spatial3d.geom.GeoBBox; import org.apache.lucene.spatial3d.geom.GeoBBoxFactory; +import org.apache.lucene.spatial3d.geom.GeoCircle; import org.apache.lucene.spatial3d.geom.GeoCircleFactory; import org.apache.lucene.spatial3d.geom.GeoPath; import org.apache.lucene.spatial3d.geom.GeoPoint; @@ -110,7 +111,6 @@ public abstract class Geo3dShapeRectRelationTestCase extends RandomizedShapeTest } } - /* @Test public void testGeoCircleRect() { new Geo3dRectIntersectionTestHelper(ctx) { @@ -126,13 +126,12 @@ public abstract class Geo3dShapeRectRelationTestCase extends RandomizedShapeTest @Override protected Point randomPointInEmptyShape(Geo3dShape shape) { - GeoPoint geoPoint = ((GeoStandardCircle)shape.shape).getCenter(); + GeoPoint geoPoint = ((GeoCircle)shape.shape).getCenter(); return geoPointToSpatial4jPoint(geoPoint); } }.testRelateWithRectangle(); } - */ @Test public void testGeoBBoxRect() {