You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kw...@apache.org on 2016/04/05 09:03:27 UTC

lucene-solr:branch_6x: LUCENE-7167: Re-enable test I disabled because of the package-private changes.

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 1a33e75c2 -> 56a4b6af3


LUCENE-7167: Re-enable test I disabled because of the package-private changes.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/56a4b6af
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/56a4b6af
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/56a4b6af

Branch: refs/heads/branch_6x
Commit: 56a4b6af371239a9dd3e4bb3fea0a831e327e62e
Parents: 1a33e75
Author: Karl Wright <Da...@gmail.com>
Authored: Tue Apr 5 03:00:15 2016 -0400
Committer: Karl Wright <Da...@gmail.com>
Committed: Tue Apr 5 03:01:25 2016 -0400

----------------------------------------------------------------------
 .../spatial/spatial4j/Geo3dShapeRectRelationTestCase.java       | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/56a4b6af/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java
----------------------------------------------------------------------
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 3fbfad8..2c41f79 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() {