aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-01 15:49:16 +1000
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-01 15:49:16 +1000
commite177e7d083a4dd3f64172802661bf658d26d1163 (patch)
treea1e4a90e9a2fce3db8bc51981aeb8a23cced5e6d /test
parentcd0c04a03b359dfc5b1ea3f61b93aaae8f6fec3e (diff)
downloadtraccar-server-e177e7d083a4dd3f64172802661bf658d26d1163.tar.gz
traccar-server-e177e7d083a4dd3f64172802661bf658d26d1163.tar.bz2
traccar-server-e177e7d083a4dd3f64172802661bf658d26d1163.zip
Check OsmAnd messages for device id
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/OsmAndProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
index d035ba7ef..6ec885058 100644
--- a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class OsmAndProtocolDecoderTest extends ProtocolTest {
OsmAndProtocolDecoder decoder = new OsmAndProtocolDecoder(new OsmAndProtocol());
+ verifyNothing(decoder, request(
+ "/?timestamp=1377177267&lat=60.0&lon=30.0"));
+
verifyPosition(decoder, request(
"/?id=902064&lat=42.06288&lon=-88.23412&timestamp=2016-01-27T18%3A55%3A47Z&hdop=6.0&altitude=224.0&speed=0.0"));