diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-24 15:00:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-24 15:00:21 +1200 |
commit | ea610afa021f14e9a8e6764b821bc25f154c38b9 (patch) | |
tree | 78c82355489cae5cef381140113afe8845526569 /test | |
parent | f246be19c40bd0d80c845a54f08910e982051f1f (diff) | |
download | traccar-server-ea610afa021f14e9a8e6764b821bc25f154c38b9.tar.gz traccar-server-ea610afa021f14e9a8e6764b821bc25f154c38b9.tar.bz2 traccar-server-ea610afa021f14e9a8e6764b821bc25f154c38b9.zip |
Add another MXT test case
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/MxtProtocolDecoderTest.java | 3 |
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( |