diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-10-31 23:27:09 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-10-31 23:27:09 +1300 |
commit | e2a855c53cad32d38a53ed65c0b899f59c99e646 (patch) | |
tree | 7e20ce16641392d6d769232f224e7454e20b53eb /test/org/traccar/protocol/EnforaProtocolDecoderTest.java | |
parent | 68ef12c1844fd692aca86a848d268accadbe67be (diff) | |
download | trackermap-server-e2a855c53cad32d38a53ed65c0b899f59c99e646.tar.gz trackermap-server-e2a855c53cad32d38a53ed65c0b899f59c99e646.tar.bz2 trackermap-server-e2a855c53cad32d38a53ed65c0b899f59c99e646.zip |
Properly handle connection closing (fix #62)
Diffstat (limited to 'test/org/traccar/protocol/EnforaProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/EnforaProtocolDecoderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/EnforaProtocolDecoderTest.java b/test/org/traccar/protocol/EnforaProtocolDecoderTest.java index 06e8155ae..bf7f22290 100644 --- a/test/org/traccar/protocol/EnforaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/EnforaProtocolDecoderTest.java @@ -11,7 +11,7 @@ public class EnforaProtocolDecoderTest { @Test public void testDecode() throws Exception { - EnforaProtocolDecoder decoder = new EnforaProtocolDecoder(new TestDataManager(), 0); + EnforaProtocolDecoder decoder = new EnforaProtocolDecoder(new TestDataManager()); ChannelBufferFactory factory = new HeapChannelBufferFactory(); byte[] buf1 = {0x00,0x0A,0x08,0x00,0x20,0x20,0x20,0x20,0x20,0x30,0x31,0x31,0x30,0x37,0x30,0x30,0x30,0x30,0x35,0x37,0x30,0x32,0x36,0x37}; |