aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-12 07:10:11 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-12 07:10:11 +1200
commitd88f364aca4790c1fc7775cd6e4faf488dc9fe94 (patch)
tree5f689ddb5e751a622a36b5ce5fa304afea2f9be8 /test/org/traccar
parent427aa11193724669fbe098fd64d327f6988a9612 (diff)
downloadtrackermap-server-d88f364aca4790c1fc7775cd6e4faf488dc9fe94.tar.gz
trackermap-server-d88f364aca4790c1fc7775cd6e4faf488dc9fe94.tar.bz2
trackermap-server-d88f364aca4790c1fc7775cd6e4faf488dc9fe94.zip
Implement Unwired geolocation provider
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/geolocation/GeolocationProviderTest.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/org/traccar/geolocation/GeolocationProviderTest.java b/test/org/traccar/geolocation/GeolocationProviderTest.java
index 5a701d859..6a557e5c2 100644
--- a/test/org/traccar/geolocation/GeolocationProviderTest.java
+++ b/test/org/traccar/geolocation/GeolocationProviderTest.java
@@ -1,6 +1,7 @@
package org.traccar.geolocation;
import org.junit.Assert;
+import org.junit.Ignore;
import org.junit.Test;
import org.traccar.BaseTest;
import org.traccar.model.CellTower;
@@ -8,17 +9,14 @@ import org.traccar.model.Network;
public class GeolocationProviderTest extends BaseTest {
- private boolean enable = false;
-
+ @Ignore
@Test
public void test() throws Exception {
- if (enable) {
- testLocationProvider();
- }
+ testLocationProvider();
}
public void testLocationProvider() throws Exception {
- MozillaGeolocationProvider provider = new MozillaGeolocationProvider();
+ MozillaGeolocationProvider provider = new MozillaGeolocationProvider(null);
Network network = new Network(CellTower.from(208, 1, 2, 1234567));