diff options
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/geocoder/GeocoderTest.java | 2 | ||||
-rw-r--r-- | test/org/traccar/protocol/PricolProtocolDecoderTest.java | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/geocoder/GeocoderTest.java b/test/org/traccar/geocoder/GeocoderTest.java index a5aecc8cf..6f4fc1710 100644 --- a/test/org/traccar/geocoder/GeocoderTest.java +++ b/test/org/traccar/geocoder/GeocoderTest.java @@ -94,7 +94,7 @@ public class GeocoderTest { } public void testGeocodeFarm() throws InterruptedException { - Geocoder geocoder = new GeocodeFarmGeocoder(null, 0); + Geocoder geocoder = new GeocodeFarmGeocoder(null, null, 0); geocoder.getAddress(new AddressFormat(), 34.116302, -118.051519, new Geocoder.ReverseGeocoderCallback() { @Override diff --git a/test/org/traccar/protocol/PricolProtocolDecoderTest.java b/test/org/traccar/protocol/PricolProtocolDecoderTest.java index 3826d56c4..0c792a8ec 100644 --- a/test/org/traccar/protocol/PricolProtocolDecoderTest.java +++ b/test/org/traccar/protocol/PricolProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class PricolProtocolDecoderTest extends ProtocolTest { PricolProtocolDecoder decoder = new PricolProtocolDecoder(new PricolProtocol()); + verifyPosition(decoder, binary( + "3c5052493030303350020000011402110b222b0455152e4e001de819ca450000000000000003820249000000000000000000000000000000000000000040003e")); + verifyNotNull(decoder, binary( "3c544553303030324b02000000000000000000000000000000000000000000000000000000037c01f4000000000000000000000000000000000000000000003e")); |