aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-03-23 21:44:00 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-03-23 21:44:00 +1300
commit205d8c9cbb9b5676b8dc6eaacfd189d50172051b (patch)
tree1429af411eec010ada29b72d54ec3240298a9b9a /test/org
parentac2f547aa7799e471a8f4a71812fe8efdf5505c5 (diff)
downloadtrackermap-server-205d8c9cbb9b5676b8dc6eaacfd189d50172051b.tar.gz
trackermap-server-205d8c9cbb9b5676b8dc6eaacfd189d50172051b.tar.bz2
trackermap-server-205d8c9cbb9b5676b8dc6eaacfd189d50172051b.zip
Fix Noran unit tests
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/NoranProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/NoranProtocolDecoderTest.java b/test/org/traccar/protocol/NoranProtocolDecoderTest.java
index 8d6025b47..9d787c38f 100644
--- a/test/org/traccar/protocol/NoranProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/NoranProtocolDecoderTest.java
@@ -17,10 +17,10 @@ public class NoranProtocolDecoderTest {
decoder.setDataManager(new TestDataManager());
int[] buf1 = {0x0f,0x00,0x00,0x00,0x4e,0x52,0x30,0x39,0x46,0x30,0x34,0x31,0x35,0x35,0x00};
- assertNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertArray(buf1))));
+ assertNull(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertArray(buf1))));
int[] buf2 = {0x22,0x00,0x08,0x00,0x01,0x0c,0x00,0x8a,0x00,0x7e,0x9d,0xaa,0x42,0x31,0x7b,0xdd,0x41,0xa7,0xf3,0xe2,0x38,0x4e,0x52,0x30,0x39,0x46,0x30,0x34,0x31,0x35,0x35,0x00,0x00,0x00};
- verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertArray(buf2))));
+ verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertArray(buf2))));
}