aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2014-10-21 15:00:55 -0400
committerjon-stumpf <jon.stumpf@gmail.com>2014-10-21 16:02:45 -0400
commit0d59336ac1fbe9934260e56811c3bcafa0aeaeca (patch)
tree57aea8c58bbd8d197d61e6b7013937c44f950de7 /test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
parentf0790eba6f3194daf4677c27e8259f783aae3207 (diff)
downloadtrackermap-server-0d59336ac1fbe9934260e56811c3bcafa0aeaeca.tar.gz
trackermap-server-0d59336ac1fbe9934260e56811c3bcafa0aeaeca.tar.bz2
trackermap-server-0d59336ac1fbe9934260e56811c3bcafa0aeaeca.zip
Updated BaseProtocolDecoder constructor to take three parameters (DataManager, String, Properties); Removed second constructor;
Diffstat (limited to 'test/org/traccar/protocol/RuptelaProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/RuptelaProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java b/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
index a3bf225db..978b281e2 100644
--- a/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
@@ -11,7 +11,7 @@ public class RuptelaProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- RuptelaProtocolDecoder decoder = new RuptelaProtocolDecoder(new TestDataManager());
+ RuptelaProtocolDecoder decoder = new RuptelaProtocolDecoder(new TestDataManager(), null, null);
int[] buf1 = {0x00,0x79,0x00,0x00,0x0b,0x1a,0x2a,0x55,0x85,0xc3,0x01,0x00,0x02,0x4e,0x9c,0x03,0x69,0x00,0x00,0x0f,0x10,0x17,0x33,0x20,0x8f,0xf4,0x5e,0x07,0xb3,0x1b,0x57,0x0a,0x00,0x10,0x09,0x09,0x06,0x05,0x01,0x1b,0x1a,0x02,0x00,0x03,0x00,0x1c,0x01,0xad,0x01,0x02,0x1d,0x33,0x8e,0x16,0x00,0x00,0x02,0x96,0x00,0x00,0x60,0x1a,0x41,0x01,0x4b,0xc1,0x6d,0x00,0x4e,0x9c,0x03,0x84,0x00,0x00,0x0f,0x10,0x4f,0xdf,0x20,0x90,0x0d,0x20,0x07,0x51,0x03,0xb0,0x0a,0x00,0x13 ,0x08,0x09,0x06,0x05,0x01,0x1b,0x1a,0x02,0x00,0x03,0x00,0x1c,0x01,0xad,0x01,0x02,0x1d,0x33,0xb1,0x16,0x00,0x00,0x02,0x96,0x00,0x00,0x60,0x1a,0x41,0x01,0x4b,0xc1,0xea,0x00,0x28,0xf9};
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray(buf1))));