aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-10-27 17:37:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-10-27 17:37:13 +1300
commit19733d81e8f50e89abdd4848c3f1dd5a437e87ff (patch)
tree5f43d03420a994596b84a8188b91511fe6bc1ab8
parentd3f29ab8a57299dc5bcc8031118f811d1182fdb1 (diff)
downloadtrackermap-server-19733d81e8f50e89abdd4848c3f1dd5a437e87ff.tar.gz
trackermap-server-19733d81e8f50e89abdd4848c3f1dd5a437e87ff.tar.bz2
trackermap-server-19733d81e8f50e89abdd4848c3f1dd5a437e87ff.zip
Add gps103 test case
-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 8cd25514f..384708cc9 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -21,6 +21,9 @@ public class Gps103ProtocolDecoderTest {
//assertNull(decoder.decode(null, null, "imei:359586015829802,tracker,000000000,13554900601,L,;"));
assertNotNull(decoder.decode(null, null,
+ "imei:012497000431811,tracker,1210260609,,F,220925.000,A,0845.5500,N,07024.7673,W,0.00,,"));
+
+ assertNotNull(decoder.decode(null, null,
"imei:100000000000000,help me,1004171910,,F,010203.000,A,0102.0003,N,00102.0003,E,1.02,"));
assertNotNull(decoder.decode(null, null,