aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-24 15:00:21 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-24 15:00:21 +1200
commitea610afa021f14e9a8e6764b821bc25f154c38b9 (patch)
tree78c82355489cae5cef381140113afe8845526569
parentf246be19c40bd0d80c845a54f08910e982051f1f (diff)
downloadtrackermap-server-ea610afa021f14e9a8e6764b821bc25f154c38b9.tar.gz
trackermap-server-ea610afa021f14e9a8e6764b821bc25f154c38b9.tar.bz2
trackermap-server-ea610afa021f14e9a8e6764b821bc25f154c38b9.zip
Add another MXT test case
-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 9367453b2..addb0b4d8 100644
--- a/test/org/traccar/protocol/MxtProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MxtProtocolDecoderTest.java
@@ -17,6 +17,9 @@ public class MxtProtocolDecoderTest extends ProtocolDecoderTest {
MxtProtocolDecoder decoder = new MxtProtocolDecoder(null);
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
+ "01a631361e7a00082471418b052a2c46b587ffc01ae3fd000008800000000000003345422203000000f000f00000000000ea1e04"))));
+
+ verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
"01a63118787d00086440628d226e2bc26a97feac8a3afd10210010308000000000000018003d2b10240000005e2f0000f427f21031feff0000593804"))));
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(