diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-20 11:53:28 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-20 11:53:28 +1200 |
commit | eb586ea7e074c87444663aa71e9da6f538429ae5 (patch) | |
tree | d914487804a1f2645bef58c175b57f7a2c12a22c /test/org | |
parent | e2f954ca7347e5df74e32fced79cceee6408d8c4 (diff) | |
download | traccar-server-eb586ea7e074c87444663aa71e9da6f538429ae5.tar.gz traccar-server-eb586ea7e074c87444663aa71e9da6f538429ae5.tar.bz2 traccar-server-eb586ea7e074c87444663aa71e9da6f538429ae5.zip |
Fix Xirgo regex pattern
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/XirgoProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java index 99e5f95ec..4e6670837 100644 --- a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java +++ b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java @@ -12,8 +12,14 @@ public class XirgoProtocolDecoderTest extends ProtocolDecoderTest { XirgoProtocolDecoder decoder = new XirgoProtocolDecoder(null); verify(decoder.decode(null, null, null, + "$$357207059646786,4003,2015/05/19,15:54:56,-20.21422,-70.14927,37.5,1.8,0.0,11,0.8,12.9,31,297,1,0,0.0,0.0,0,1,1,1##")); + + verify(decoder.decode(null, null, null, "$$354898045650537,6031,2015/02/26,15:47:26,33.42552,-112.30308,287.8,0,0,0,0,0.0,7,1.2,2,0.0,12.2,22,1,0,82.3")); + verify(decoder.decode(null, null, null, + "$$357207059646786,4003,2015/05/19,15:55:27,-20.21421,-70.14920,33.6,0.4,0.0,11,0.8,12.9,31,297,1,0,0.0,0.0,0,1,1,1##")); + } } |