From 53845211c51155b09808ce374b7052e9d3dd5c2e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 25 Apr 2015 22:33:46 +1200 Subject: Add another Noran test case --- test/org/traccar/protocol/NoranProtocolDecoderTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/org/traccar/protocol/NoranProtocolDecoderTest.java b/test/org/traccar/protocol/NoranProtocolDecoderTest.java index b7c05a62e..8a6596817 100644 --- a/test/org/traccar/protocol/NoranProtocolDecoderTest.java +++ b/test/org/traccar/protocol/NoranProtocolDecoderTest.java @@ -1,7 +1,6 @@ package org.traccar.protocol; import java.nio.ByteOrder; -import org.traccar.helper.TestDataManager; import org.jboss.netty.buffer.ChannelBuffers; import static org.junit.Assert.assertNull; import static org.traccar.helper.DecoderVerifier.verify; @@ -23,6 +22,9 @@ public class NoranProtocolDecoderTest extends ProtocolDecoderTest { verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString( "34000800010c0000000000001c4291251143388d17c24e523039423131303930000031342d31322d32352030303a33333a303700")))); + + verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString( + "34000800010c00000000000000006520944141bd07c24e523039423139323832000031352d30342d32352030303a30333a323200")))); } -- cgit v1.2.3