aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-25 22:33:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-25 22:33:46 +1200
commit53845211c51155b09808ce374b7052e9d3dd5c2e (patch)
tree6fde57f24efb630dd877e9398bb7732cb1ea6afd
parentb10cebd692b610a13ea27b6150a79726de59f40e (diff)
downloadtraccar-server-53845211c51155b09808ce374b7052e9d3dd5c2e.tar.gz
traccar-server-53845211c51155b09808ce374b7052e9d3dd5c2e.tar.bz2
traccar-server-53845211c51155b09808ce374b7052e9d3dd5c2e.zip
Add another Noran test case
-rw-r--r--test/org/traccar/protocol/NoranProtocolDecoderTest.java4
1 files changed, 3 insertions, 1 deletions
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"))));
}