aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-24 22:48:48 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-24 22:48:48 +1200
commit04bb90567fc6dbd63ba09d93390aad61deb82edb (patch)
tree8e1c606cc0bec478eccd45e52a9c97dfd16c371f /test/org/traccar/protocol
parentad9c5429f44f0558a13900da36279ee23e19fa8c (diff)
downloadtrackermap-server-04bb90567fc6dbd63ba09d93390aad61deb82edb.tar.gz
trackermap-server-04bb90567fc6dbd63ba09d93390aad61deb82edb.tar.bz2
trackermap-server-04bb90567fc6dbd63ba09d93390aad61deb82edb.zip
Support new Noran message type
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/NoranProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/NoranProtocolDecoderTest.java b/test/org/traccar/protocol/NoranProtocolDecoderTest.java
index 4a767398d..a320e4c49 100644
--- a/test/org/traccar/protocol/NoranProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/NoranProtocolDecoderTest.java
@@ -14,6 +14,9 @@ public class NoranProtocolDecoderTest extends ProtocolDecoderTest {
NoranProtocolDecoder decoder = new NoranProtocolDecoder(new NoranProtocol());
+ //verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
+ // "28003200c38000d900fcc97a416b1a7a42b43eef3d4e523039473034383737000000000092fcda4a"))));
+
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
"3400080001090000000000001D43A29BE842E62520424E523039423036363932000031322D30332D30352031313A34373A343300"))));