aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-02 13:47:51 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-02 13:49:02 +1200
commit06a746b44dae69b0c84a5302f92a1bcbe2dc827f (patch)
treedcefdd99ffc2106e96e3445f81ee5800aead2222 /test
parentf0750a4b89088f05af6f561201b43ceeb407bd35 (diff)
downloadtraccar-server-06a746b44dae69b0c84a5302f92a1bcbe2dc827f.tar.gz
traccar-server-06a746b44dae69b0c84a5302f92a1bcbe2dc827f.tar.bz2
traccar-server-06a746b44dae69b0c84a5302f92a1bcbe2dc827f.zip
Properly decode Telic info (fix #1735)
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TelicProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TelicProtocolDecoderTest.java b/test/org/traccar/protocol/TelicProtocolDecoderTest.java
index a922c390d..79ec0aa68 100644
--- a/test/org/traccar/protocol/TelicProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TelicProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class TelicProtocolDecoderTest extends ProtocolTest {
TelicProtocolDecoder decoder = new TelicProtocolDecoder(new TelicProtocol());
verifyPosition(decoder, text(
+ "003097061325,210216112630,0,210216001405,246985,594078,3,0,283,12,,,23,4418669,,0010,00,117,0,0,0108"));
+
+ verifyPosition(decoder, text(
+ "592078222222,010100030200,0,240516133500,222222,222222,3,0,0,5,,,37,324,,1010,00,48,0,0,0406"));
+
+ verifyPosition(decoder, text(
"002017297899,220216111100,0,220216111059,014306446,46626713,3,7,137,7,,,448,266643,,0000,00,0,206,0,0407"));
verifyPosition(decoder, text(