diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-07 07:45:44 +1000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-07 07:45:44 +1000 |
commit | f325f30ab8d9097eec01a39f5e7ac02c11d608c3 (patch) | |
tree | 78da8e3263612ff45e3b778fbeee0f7a1d04476f /test/org/traccar/protocol | |
parent | 18aaf44bcde8eb5243b069727fb4f056e94df938 (diff) | |
download | trackermap-server-f325f30ab8d9097eec01a39f5e7ac02c11d608c3.tar.gz trackermap-server-f325f30ab8d9097eec01a39f5e7ac02c11d608c3.tar.bz2 trackermap-server-f325f30ab8d9097eec01a39f5e7ac02c11d608c3.zip |
Handle new line in Xexun messages
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/XexunProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XexunProtocolDecoderTest.java b/test/org/traccar/protocol/XexunProtocolDecoderTest.java index 27574ddce..76c516caf 100644 --- a/test/org/traccar/protocol/XexunProtocolDecoderTest.java +++ b/test/org/traccar/protocol/XexunProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class XexunProtocolDecoderTest extends ProtocolTest { XexunProtocolDecoder decoder = new XexunProtocolDecoder(new XexunProtocol(), false); verifyPosition(decoder, text( + "GPRMC,121535.000,A,5417.2666,N,04822.1264,E,1.452,30.42,031014,0.0,A*4D\r\n,L,imei:355227042011730,")); + + verifyPosition(decoder, text( "GPRMC,150120.000,A,3346.4463,S,15057.3083,E,0.0,117.4,010911,,,A*76,F,imei:351525010943661,"), position("2011-09-01 15:01:20.000", true, -33.77411, 150.95514)); |