aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/BceProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-28 12:32:00 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-28 12:32:00 +1300
commit66b05f99cd91989baf85f15986a29eea6dbd6f8b (patch)
tree8cc560cf15cc7752620884739606c56c1a537fc1 /test/org/traccar/protocol/BceProtocolDecoderTest.java
parent183273d381c132ff657416b6530a193dac157b0d (diff)
downloadtrackermap-server-66b05f99cd91989baf85f15986a29eea6dbd6f8b.tar.gz
trackermap-server-66b05f99cd91989baf85f15986a29eea6dbd6f8b.tar.bz2
trackermap-server-66b05f99cd91989baf85f15986a29eea6dbd6f8b.zip
Update BCE test case
Diffstat (limited to 'test/org/traccar/protocol/BceProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/BceProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/BceProtocolDecoderTest.java b/test/org/traccar/protocol/BceProtocolDecoderTest.java
index 93fc080a4..ab65376d4 100644
--- a/test/org/traccar/protocol/BceProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/BceProtocolDecoderTest.java
@@ -1,5 +1,6 @@
package org.traccar.protocol;
+import java.nio.ByteOrder;
import org.jboss.netty.buffer.ChannelBuffers;
import static org.junit.Assert.assertNull;
import org.junit.Test;
@@ -14,7 +15,7 @@ public class BceProtocolDecoderTest {
BceProtocolDecoder decoder = new BceProtocolDecoder(new TestDataManager(), null, null);
- verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
+ verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
"be76619c834601004200a0003fd769c568ffc3db0079161d420683a9414918b1150000000000d102660167040000000000009f06357f0000a401042ea415e10232000000000000000000000051"))));
}