aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-03-23 20:34:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-03-23 20:34:43 +1300
commit35701e0a14782d67320a7c667d7afd980bbc5dd0 (patch)
tree94827428211420c812c0e956396d92e3c3af9d4a /test
parent43943e450f58501f61faecd466f88aa5d3eb4482 (diff)
downloadtraccar-server-35701e0a14782d67320a7c667d7afd980bbc5dd0.tar.gz
traccar-server-35701e0a14782d67320a7c667d7afd980bbc5dd0.tar.bz2
traccar-server-35701e0a14782d67320a7c667d7afd980bbc5dd0.zip
Save GPS103 extra data
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 5bcfa65e8..b5365f8d7 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -98,6 +98,12 @@ public class Gps103ProtocolDecoderTest {
verify(decoder.decode(null, null,
"imei:359710041641581,acc alarm,1402231159,,F,065907.000,A,2456.2591,N,06708.8335,E,7.53,76.10,,1,0,0.03%,,"));
+
+ verify(decoder.decode(null, null,
+ "imei:359710041641581,acc alarm,1402231159,,F,065907.000,A,2456.2591,N,06708.8335,E,7.53,76.10,,1,0,0.03%,,"));
+
+ verify(decoder.decode(null, null,
+ "imei:313009071131684,tracker,1403211928,,F,112817.000,A,0610.1133,N,00116.5840,E,0.00,,,0,0,0.0,0.0,"));
}