We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 213b478 commit 4063920Copy full SHA for 4063920
1 file changed
unittest/com/esri/core/geometry/TestGeomToGeoJson.java
@@ -30,6 +30,7 @@
30
import junit.framework.TestCase;
31
import org.codehaus.jackson.JsonFactory;
32
import org.codehaus.jackson.JsonParser;
33
+import org.json.JSONException;
34
import org.junit.Test;
35
36
import java.io.IOException;
@@ -241,7 +242,7 @@ public void testMultiPolygon() throws IOException {
241
242
243
244
@Test
- public void testEmptyPolygon() {
245
+ public void testEmptyPolygon() throws JSONException {
246
Polygon p = new Polygon();
247
OperatorExportToGeoJson exporter = (OperatorExportToGeoJson) factory.getOperator(Operator.Type.ExportToGeoJson);
248
String result = exporter.execute(p);
0 commit comments