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/Jt600ProtocolDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/org/traccar/protocol/Jt600ProtocolDecoderTest.java') diff --git a/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java b/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java index 4a90e8d55..93dd7d209 100644 --- a/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java @@ -11,7 +11,7 @@ public class Jt600ProtocolDecoderTest { @Test public void testDecode() throws Exception { - Jt600ProtocolDecoder decoder = new Jt600ProtocolDecoder(new TestDataManager()); + Jt600ProtocolDecoder decoder = new Jt600ProtocolDecoder(new TestDataManager(), null, null); byte[] buf1 = {0x24,0x31,0x10,0x21,0x60,0x01,0x11,0x00,0x1B,0x16,0x02,0x11,0x05,0x59,0x10,0x22,0x32,(byte)0x98,0x62,0x11,0x40,0x46,0x22,0x7B,0x05,(byte)0x98,0x09,0x50,(byte)0x80,0x01,0x23,0x27,(byte)0x95,0x14,0x35,0x16,0x1F}; verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(buf1))); -- cgit v1.2.3