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:00:37 UTC

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

Repository: lucene-solr
Updated Branches:
  refs/heads/master 885d567be -> dc2f17483


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/dc2f1748
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/dc2f1748
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/dc2f1748

Branch: refs/heads/master
Commit: dc2f17483a92a73de3aaa75f5343e32cba8c5f5a
Parents: 885d567
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:00:15 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/dc2f1748/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() {