diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-05 11:05:36 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-05 11:05:36 +1200 |
commit | c8793e2163f59a25c2d78aaa141ffab2e6338dff (patch) | |
tree | df61680c258fa410426480cd3e255ac81f320bf2 /test | |
parent | dee95fe0133e06d084c7921399eb82670b42df2f (diff) | |
download | trackermap-server-c8793e2163f59a25c2d78aaa141ffab2e6338dff.tar.gz trackermap-server-c8793e2163f59a25c2d78aaa141ffab2e6338dff.tar.bz2 trackermap-server-c8793e2163f59a25c2d78aaa141ffab2e6338dff.zip |
Support new Noran format
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/NoranProtocolDecoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/NoranProtocolDecoderTest.java b/test/org/traccar/protocol/NoranProtocolDecoderTest.java index 583ba56d1..e51741835 100644 --- a/test/org/traccar/protocol/NoranProtocolDecoderTest.java +++ b/test/org/traccar/protocol/NoranProtocolDecoderTest.java @@ -14,11 +14,11 @@ public class NoranProtocolDecoderTest extends ProtocolDecoderTest { NoranProtocolDecoder decoder = new NoranProtocolDecoder(null); - /*verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString( + verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString( "3400080001090000000000001D43A29BE842E62520424E523039423036363932000031322D30332D30352031313A34373A343300")))); verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString( - "34000800010c000000000080a3438e20944149bd07c24e523039423139323832000031352d30342d32362030383a34333a353300"))));*/ + "34000800010c000000000080a3438e20944149bd07c24e523039423139323832000031352d30342d32362030383a34333a353300")))); assertNull(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString( "0f0000004e52303946303431353500")))); |