aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/TelicProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-21 11:48:00 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-21 11:48:00 +1300
commit2c8223bed1ae6ed809a50a4e459e3cc50068bd86 (patch)
tree919c279ad1750109910c0e1e0c9ba270909a34bc /test/org/traccar/protocol/TelicProtocolDecoderTest.java
parent63d3e629fd0b4d02b1885160e4289596cfd958c0 (diff)
downloadtrackermap-server-2c8223bed1ae6ed809a50a4e459e3cc50068bd86.tar.gz
trackermap-server-2c8223bed1ae6ed809a50a4e459e3cc50068bd86.tar.bz2
trackermap-server-2c8223bed1ae6ed809a50a4e459e3cc50068bd86.zip
Support another Telic protocol format
Diffstat (limited to 'test/org/traccar/protocol/TelicProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/TelicProtocolDecoderTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/org/traccar/protocol/TelicProtocolDecoderTest.java b/test/org/traccar/protocol/TelicProtocolDecoderTest.java
index 536875a2f..62a80c94f 100644
--- a/test/org/traccar/protocol/TelicProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TelicProtocolDecoderTest.java
@@ -10,15 +10,15 @@ public class TelicProtocolDecoderTest extends ProtocolTest {
TelicProtocolDecoder decoder = new TelicProtocolDecoder(new TelicProtocol());
- verifyNothing(decoder, text(
- "0026436729|232|01|003002030"));
+ verifyPosition(decoder, text(
+ "002017297899,190216202500,0,190216202459,014221890,46492170,3,0,0,6,,,1034,43841,,0000,00,0,209,0,0407\u0000"));
verifyPosition(decoder, text(
- "182043672999,010100001301,0,270613041652,166653,475341,3,0,355,6,2,1,231,8112432,23201,01,00,217,0,0,0,0,7"),
+ "182043672999,010100001301,0,270613041652,166653,475341,3,0,355,6,2,1,231,8112432,23201,01,00,217,0,0,0,0,7\u0000"),
position("2013-06-27 04:16:52.000", true, 47.53410, 16.66530));
verifyPosition(decoder, text(
- "182043672999,010100001301,0,270613041652,166653,475341,3,0,355,6,2,1,231,8112432,23201,01,00,217,0,0,0,0,7"));
+ "182043672999,010100001301,0,270613041652,166653,475341,3,0,355,6,2,1,231,8112432,23201,01,00,217,0,0,0,0,7\u0000"));
}