diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-12-23 19:22:42 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-12-23 19:22:42 -0800 |
commit | 24bad15e66289cf35e15bdc1fce5080f25b7b5c8 (patch) | |
tree | 086926b68675ef338eb2cf589356694e3a533233 /test | |
parent | fe9f9b034713cb98531d73698a65bd03d18a771c (diff) | |
parent | c8281d6a4dbb8ded05f58d9428d86569a6d94b80 (diff) | |
download | traccar-server-24bad15e66289cf35e15bdc1fce5080f25b7b5c8.tar.gz traccar-server-24bad15e66289cf35e15bdc1fce5080f25b7b5c8.tar.bz2 traccar-server-24bad15e66289cf35e15bdc1fce5080f25b7b5c8.zip |
Merge pull request #113 from hallmark9/master
Tolerate Xexun2 data with low power level; Tolerate phone number without "+" prefix
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java b/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java index 8a31334da..8d585337a 100644 --- a/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java @@ -16,6 +16,11 @@ public class Xexun2ProtocolDecoderTest { assertNotNull(decoder.decode(null, null, "111111120009,+436763737552,GPRMC,120600.000,A,6000.0000,N,13000.0000,E,0.00,0.00,010112,,,A*68,F,help me!, imei:123456789012345,04,481.2,F:4.15V,0,139,2689,232,03,2725,0576")); + assertNotNull(decoder.decode(null, null, + "111111120009,+436763737552,GPRMC,120600.000,A,6000.0000,N,13000.0000,E,0.00,0.00,010112,,,A*68,F,help me!, imei:123456789012345,04,481.2,L:3.5V,0,139,2689,232,03,2725,0576")); + + assertNotNull(decoder.decode(null, null, + "111111120009,436763737552,GPRMC,120600.000,A,6000.0000,N,13000.0000,E,0.00,0.00,010112,,,A*68,F,help me!, imei:123456789012345,04,481.2,L:3.5V,0,139,2689,232,03,2725,0576")); } } |