aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-10-11 23:32:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-10-11 23:32:43 +1300
commitd97f71973d3e0dd3571a05f8a938813795f5aced (patch)
tree738e552031a06310123bac14be040a42d9e30f9e /test/org/traccar/protocol
parent6f177f5ceb8c8ce9af7be71effd1855dc764507a (diff)
downloadtrackermap-server-d97f71973d3e0dd3571a05f8a938813795f5aced.tar.gz
trackermap-server-d97f71973d3e0dd3571a05f8a938813795f5aced.tar.bz2
trackermap-server-d97f71973d3e0dd3571a05f8a938813795f5aced.zip
Support SendLocation app
Diffstat (limited to 'test/org/traccar/protocol')
-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 9fb44b2ff..2a5b1baf0 100644
--- a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
@@ -19,6 +19,9 @@ public class OsmAndProtocolDecoderTest {
assertNotNull(decoder.decode(null, null, new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET,
"/?id=123456&timestamp=1377177267&lat=60.0&lon=30.0")));
+
+ assertNotNull(decoder.decode(null, null, new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET,
+ "/?lat=60.0&lon=30.0&speed=0.0&heading=0.0&vacc=0&hacc=0&altitude=0&deviceid=123456")));
}