aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-19 10:51:16 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-19 10:51:16 +1300
commitc9403e503e269f36b93d97777c98352946e1da2f (patch)
treeb0e0460f3b2acb7ace0206883babf616f5352fc3 /test/org/traccar/protocol
parent6ea8778be3d7426fa9281f9260081e1863fae4bd (diff)
downloadtrackermap-server-c9403e503e269f36b93d97777c98352946e1da2f.tar.gz
trackermap-server-c9403e503e269f36b93d97777c98352946e1da2f.tar.bz2
trackermap-server-c9403e503e269f36b93d97777c98352946e1da2f.zip
Handle IMEI without delimiter (fix #1733)
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index ae3d2fa55..6e7f19e18 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol());
verifyNothing(decoder, text(
+ "359769031878322imei:359769031878322,tracker,1602160718,2,F,221811.000,A,1655.2193,S,14546.6722,E,0.00,,"));
+
+ verifyNothing(decoder, text(
"imei:865328021049167,OBD,141118115036,,,0.0,,000,0.0%,+,0.0%,00000,,,,,"));
verifyAttributes(decoder, text(