aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-01 11:04:49 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-01 11:04:49 +1300
commit08e6d78e4f623b790f65cd4147d55dd7c7a4c6c2 (patch)
tree353923ef522f974721eb75a1a03c345d78d44efa
parentdabcaf7eabc3e59455f05d593d39d4051cd2c6ea (diff)
downloadtraccar-server-08e6d78e4f623b790f65cd4147d55dd7c7a4c6c2.tar.gz
traccar-server-08e6d78e4f623b790f65cd4147d55dd7c7a4c6c2.tar.bz2
traccar-server-08e6d78e4f623b790f65cd4147d55dd7c7a4c6c2.zip
Add XT013 test case
-rw-r--r--test/org/traccar/protocol/Xt013ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java b/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java
index 32d0c55c2..45d86b902 100644
--- a/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java
@@ -13,6 +13,9 @@ public class Xt013ProtocolDecoderTest {
Xt013ProtocolDecoder decoder = new Xt013ProtocolDecoder(new TestDataManager(), null, null);
verify(decoder.decode(null, null,
+ "TK,862950021650364,150131090859,+53.267863,+5.767363,0,38,12,0,F,204,08,C94,336C,24,,4.09,1,,,,,,,,"));
+
+ verify(decoder.decode(null, null,
"TK,862950021650364,150118113832,+53.267722,+5.767143,0,86,12,0,F,204,08,C94,336C,22,,4.21,1,,,,,,,,"));
verify(decoder.decode(null, null,