aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/geofence/GeofenceCircleTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/geofence/GeofenceCircleTest.java')
-rw-r--r--test/org/traccar/geofence/GeofenceCircleTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/org/traccar/geofence/GeofenceCircleTest.java b/test/org/traccar/geofence/GeofenceCircleTest.java
index 820f34e34..52c214b53 100644
--- a/test/org/traccar/geofence/GeofenceCircleTest.java
+++ b/test/org/traccar/geofence/GeofenceCircleTest.java
@@ -12,11 +12,11 @@ public class GeofenceCircleTest {
String test = "CIRCLE (55.75414 37.6204, 100)";
GeofenceGeometry geofenceGeometry = new GeofenceCircle();
try {
- geofenceGeometry.fromWKT(test);
+ geofenceGeometry.fromWkt(test);
} catch (ParseException e){
Assert.assertTrue("ParseExceprion: " + e.getMessage(), true);
}
- Assert.assertEquals(geofenceGeometry.toWKT(), test);
+ Assert.assertEquals(geofenceGeometry.toWkt(), test);
}
@Test
@@ -24,7 +24,7 @@ public class GeofenceCircleTest {
String test = "CIRCLE (55.75414 37.6204, 100)";
GeofenceGeometry geofenceGeometry = new GeofenceCircle();
try {
- geofenceGeometry.fromWKT(test);
+ geofenceGeometry.fromWkt(test);
} catch (ParseException e){
Assert.assertTrue("ParseExceprion: " + e.getMessage(), true);
}