aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-07 11:33:22 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-07 11:33:22 +0500
commit9ebd2a934a5ca3a61863f839733bff321ba30296 (patch)
tree265352fda7b704c240018f57e53c6626f166470d /test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
parentf0578c7b5f8737e019a9cf05935d2caaa940f0ca (diff)
downloadtrackermap-server-9ebd2a934a5ca3a61863f839733bff321ba30296.tar.gz
trackermap-server-9ebd2a934a5ca3a61863f839733bff321ba30296.tar.bz2
trackermap-server-9ebd2a934a5ca3a61863f839733bff321ba30296.zip
Handle correct and incorrect attribute types
Diffstat (limited to 'test/org/traccar/protocol/OsmAndProtocolDecoderTest.java')
-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 2d0ef0adf..af860f371 100644
--- a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
@@ -37,6 +37,9 @@ public class OsmAndProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, request(
"/?id=123456&timestamp=1377177267&location=60.0,30.0"));
+ verifyPosition(decoder, request(
+ "/?id=123456789012345&timestamp=1504763810&lat=40.7232948571&lon=-74.0061408571&bearing=7.19889788244&speed=40&ignition=true&rpm=933&fuel=24"));
+
}
}