From 0d59336ac1fbe9934260e56811c3bcafa0aeaeca Mon Sep 17 00:00:00 2001 From: jon-stumpf Date: Tue, 21 Oct 2014 15:00:55 -0400 Subject: Updated BaseProtocolDecoder constructor to take three parameters (DataManager, String, Properties); Removed second constructor; --- test/org/traccar/protocol/AplicomProtocolDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/org/traccar/protocol/AplicomProtocolDecoderTest.java') diff --git a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java b/test/org/traccar/protocol/AplicomProtocolDecoderTest.java index 49be44016..ad2b2ab38 100644 --- a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AplicomProtocolDecoderTest.java @@ -11,7 +11,7 @@ public class AplicomProtocolDecoderTest { @Test public void testDecode() throws Exception { - AplicomProtocolDecoder decoder = new AplicomProtocolDecoder(new TestDataManager()); + AplicomProtocolDecoder decoder = new AplicomProtocolDecoder(new TestDataManager(), null, null); int[] buf1 = {0x44,0xC2,0x01,0x43,0x72,0x07,0x29,0xD6,0x84,0x00,0x43,0x03,0x1f,0xff,0x71,0x91,0xC0,0x45,0x0e,0xf9,0x06,0x45,0x0e,0xf9,0x06,0x03,0xb2,0x0b,0x80,0x03,0xb2,0x0b,0x80,0x06,0x64,0x65,0xb3,0x87,0x0c,0xe3,0x0f,0x01,0x0c,0xe3,0x0c,0xe3,0x00,0x32,0x00,0x00,0x15,0x20,0x00,0x00,0x00,0x03,0x0a,0xa2,0x00,0x00,0x3b,0x13,0x00,0x00,0x00,0x32,0x03,0x00,0x00,0x0b,0xcb,0x17,0xac,0xff,0x00,0x99,0x00,0x01,0x86,0xa0,0x02}; verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray(buf1)))); -- cgit v1.2.3