diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-16 07:10:33 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-16 07:10:33 +1200 |
commit | 7820541530ea9891c001cbd8c53cc6340380a077 (patch) | |
tree | 7afe4382572a82a7e72f23e569d73867034e3fc4 /test/org/traccar/protocol/TelicProtocolDecoderTest.java | |
parent | a781fec58e94326a1b1580239cf92dbc543a59a1 (diff) | |
download | trackermap-server-7820541530ea9891c001cbd8c53cc6340380a077.tar.gz trackermap-server-7820541530ea9891c001cbd8c53cc6340380a077.tar.bz2 trackermap-server-7820541530ea9891c001cbd8c53cc6340380a077.zip |
Support new Telic format
Diffstat (limited to 'test/org/traccar/protocol/TelicProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/TelicProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TelicProtocolDecoderTest.java b/test/org/traccar/protocol/TelicProtocolDecoderTest.java index 85d6f70ac..84b6a797b 100644 --- a/test/org/traccar/protocol/TelicProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TelicProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class TelicProtocolDecoderTest extends ProtocolTest { TelicProtocolDecoder decoder = new TelicProtocolDecoder(new TelicProtocol()); + verifyNull(decoder, text( + "0026355565071347499|206|01|001002008")); + + verifyPosition(decoder, text( + "002135556507134749999,010817171138,0,010817171138,004560973,50667173,3,0,0,11,1,1,100,958071,20601,000000,00,4142,0000,0000,0208,10395,0")); + verifyPosition(decoder, text( "442045993198,290317131935,0,290317131935,269158,465748,3,26,183,,,,184,85316567,226,01,00,68,218")); |