diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-10-22 09:43:19 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-10-22 09:43:19 +1300 |
commit | 91395e9ac0dd5de366b87bb5d082990b15a946e9 (patch) | |
tree | 57aea8c58bbd8d197d61e6b7013937c44f950de7 /test/org/traccar/protocol/OrionProtocolDecoderTest.java | |
parent | 8876e964cf26a090d11fd855642c95bc02a17c7f (diff) | |
parent | 0d59336ac1fbe9934260e56811c3bcafa0aeaeca (diff) | |
download | trackermap-server-91395e9ac0dd5de366b87bb5d082990b15a946e9.tar.gz trackermap-server-91395e9ac0dd5de366b87bb5d082990b15a946e9.tar.bz2 trackermap-server-91395e9ac0dd5de366b87bb5d082990b15a946e9.zip |
Merge pull request #918 from jon-stumpf/enhancement-eliminate-hardcoded-protocol-names
Eliminate hardcoded protocol names
Diffstat (limited to 'test/org/traccar/protocol/OrionProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/OrionProtocolDecoderTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/OrionProtocolDecoderTest.java b/test/org/traccar/protocol/OrionProtocolDecoderTest.java index 9e37ab5a1..6c3d1b55d 100644 --- a/test/org/traccar/protocol/OrionProtocolDecoderTest.java +++ b/test/org/traccar/protocol/OrionProtocolDecoderTest.java @@ -13,8 +13,7 @@ public class OrionProtocolDecoderTest { @Test public void testDecode() throws Exception { - OrionProtocolDecoder decoder = new OrionProtocolDecoder(null); - decoder.setDataManager(new TestDataManager()); + OrionProtocolDecoder decoder = new OrionProtocolDecoder(new TestDataManager(), null, null); verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertArray( new int[] {0x50,0x57,0x00,0x41,0x07,0x36,0x7C,0x24,0x2B,0x44,0x09,0x01,0xAD,0xE9,0x7D,0x01,0x63,0x14,0x3B,0x07,0xB0,0x03,0x00,0x00,0x00,0x00,0x0D,0x04,0x19,0x17,0x38,0x2D,0x00,0x0B,0x01,0x01,0x00,0x05,0x11,0x00,0x00,0x00,0x00,0x06,0x82,0x05,0x00,0x00,0x00,0x8E,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x8C,0x03,0x00,0x84,0x03,0x00,0x85,0x03,0x00,0x09,0x0A,0x00,0x00,0x00,0x00,0x48,0x01,0x00,0x00,0x00,0x8A,0xFC})))); |