aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-12 09:10:09 +1100
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-12 09:10:09 +1100
commit58aace7ede3efa557ec125470c50161e7cfae97a (patch)
tree9bc505bea5e77a59ae0f0a80e62b9de59df600ce /test/org/traccar
parent538b2eca6dd2e317376e5161efa7ff0f1fbf9662 (diff)
downloadtraccar-server-58aace7ede3efa557ec125470c50161e7cfae97a.tar.gz
traccar-server-58aace7ede3efa557ec125470c50161e7cfae97a.tar.bz2
traccar-server-58aace7ede3efa557ec125470c50161e7cfae97a.zip
Add MXT protocol test case
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/MxtProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MxtProtocolDecoderTest.java b/test/org/traccar/protocol/MxtProtocolDecoderTest.java
index 37373c8de..014fcb287 100644
--- a/test/org/traccar/protocol/MxtProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MxtProtocolDecoderTest.java
@@ -13,6 +13,9 @@ public class MxtProtocolDecoderTest extends ProtocolTest {
MxtProtocolDecoder decoder = new MxtProtocolDecoder(new MxtProtocol());
verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ "01a631144c7e0008643ad2f456fb2d49747cfe4cbe0ffd002008800000001021000fd43d3f1403000000ff300000f42760001031102445a81fda04"));
+
+ verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"01a631361e7a00082471418b052a2c46b587ffc01ae3fd000008800000000000003345422203000000f000f00000000000ea1e04"));
verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN,