aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-24 09:59:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-24 09:59:57 +1200
commit5832b1b982049de7242f5378b08b3dd24477eeee (patch)
tree472acb9af0d60f1ab259f7e0274ddd5b002865cd /test/org/traccar
parent2aa78ad4d0a424b3d4479bc29ff195375bdc821a (diff)
downloadtrackermap-server-5832b1b982049de7242f5378b08b3dd24477eeee.tar.gz
trackermap-server-5832b1b982049de7242f5378b08b3dd24477eeee.tar.bz2
trackermap-server-5832b1b982049de7242f5378b08b3dd24477eeee.zip
Set MXT positions to valid
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/MxtProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MxtProtocolDecoderTest.java b/test/org/traccar/protocol/MxtProtocolDecoderTest.java
index 9c0a315d2..9367453b2 100644
--- a/test/org/traccar/protocol/MxtProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MxtProtocolDecoderTest.java
@@ -17,6 +17,12 @@ public class MxtProtocolDecoderTest extends ProtocolDecoderTest {
MxtProtocolDecoder decoder = new MxtProtocolDecoder(null);
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(
+ "01a631bd777d0008646e319e17292ce86798fed4cd3afd102110211030800000102403001f15003e2b102400000034300000f4271021007b175535a7be04"))));
+
+ verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
"01a631e3f97e00087cf40a98151c2cc46898fee0ce3afd1021001030c0000006102116072e003829bb00000036102100001024000000062b0000f42730004b06a6384b4304"))));
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(